nipah_tokenizer 0.1.0

A powerful yet simple text tokenizer for your everyday needs!
Documentation
  • Coverage
  • 28.72%
    27 out of 94 items documented0 out of 23 items with examples
  • Size
  • Source code size: 29.63 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.23 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • jv-np/nipah_tokenizer
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jv-np

nipah_tokenizer

A powerful yet simple text tokenizer for your everyday needs!

322977877_dark_magic_and_black_fire-transformed

How To Use

  1. Obtain the default options (or create yourself your configuration):
let options = nipah_tokenizer::options::default();
  1. Get some text
let text = "Hello, World!".to_string();
  1. 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!