mod table;
pub use table::{ByteTokenizer, CharTokenizer, DictionaryTokenizer};
pub const BYTES: &str = "bytes";
pub const CHAR: &str = "char";
pub const DICTIONARY: &str = "dictionary";
pub fn register(registry: &mut kute_core::Registry) -> kute_types::Result<()> {
registry.register_algorithm(BYTES, || Box::new(ByteTokenizer::default()))?;
registry.register_algorithm(CHAR, || Box::new(CharTokenizer::default()))?;
registry.register_algorithm(DICTIONARY, || Box::new(DictionaryTokenizer::default()))
}