1 unstable release
0.1.0 | Jan 14, 2023 |
---|
#1780 in Text processing
29KB
730 lines
nipah_tokenizer
A powerful yet simple text tokenizer for your everyday needs!
How To Use
- Obtain the default options (or create yourself your configuration):
let options = nipah_tokenizer::options::default();
- Get some text
let text = "Hello, World!".to_string();
- Tokenize your text!
use nipah_tokenizer::tokenizer::tokenize;
let tokens = tokenize(text, &options);
Output will be like:
["Hello": Id] [Comma] ["World": Id] [Exclamation]
You can use it as your hearth desires, and it is pretty versatile
Happy coding!
Dependencies
~66KB