Skip to content

Commit

Permalink
chore(lib): re-export TransitionTables and GreedyTokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
ChieloNewctle committed Nov 6, 2023
1 parent 471dac9 commit 2cb23cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ pub use {
GeneralSAM, GeneralSAMNode, GeneralSAMNodeID, GeneralSAMState, SAM_NIL_NODE_ID,
SAM_ROOT_NODE_ID,
},
table::{BTreeTransTable, ConstructiveTransitionTable, TransitionTable},
table::{
BTreeTransTable, BoxBisectTable, ConstructiveTransitionTable, HashTransTable,
SmallAlphabet, TransitionTable, VecBisectTable, WholeAlphabetTable,
},
trie_alike::{IterAsChain, TravelEvent, TrieNodeAlike},
};

Expand All @@ -120,7 +123,7 @@ pub use trie::{Trie, TrieNode, TrieNodeID, TrieState, TRIE_NIL_NODE_ID, TRIE_ROO
pub mod utils;
#[cfg(feature = "utils")]
#[cfg_attr(doc_cfg, doc(cfg(feature = "utils")))]
pub use utils::{rope, suffixwise, tokenize};
pub use utils::{rope, suffixwise, tokenize, tokenize::GreedyTokenizer};

#[cfg(test)]
mod tests;

0 comments on commit 2cb23cc

Please sign in to comment.