Skip to content

Tokenizador de textos customizável avançado, útil para DSL's e interpretes de textos

License

Notifications You must be signed in to change notification settings

JoaoVictorVP/Nipah-Tokenizer

Repository files navigation

Nipah Tokenizer

NuGet version (NipahTokenizer)

Installing

dotnet add package NipahTokenizer

Using

First setup the tokenizer options as needed, you can use the default as follows:

var tokenizerOptions = TokenizerOptions.Default;

Then just create a new instance of tokenizer and call "Tokenize" passing tokenizer options as arg:

var tokenizer = new Tokenizer();
var tokens = tokenizer.Tokenize("any-text-here", tokenizerOptions);

You can now just iterate over tokens as needed.

About

Tokenizador de textos customizável avançado, útil para DSL's e interpretes de textos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages