Skip to content

An example of developing services as a python package

License

Notifications You must be signed in to change notification settings

tdd-ai/simple-tokenizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-tokenizer

An example of developing services as a python package

Installation

pip install simpletokenizer

Usage

>>> import simpletokenizer
>>> simpletokenizer.tokenize("the fox jumps over the lazy dog")
['the', 'fox', 'jumps', 'over', 'the', 'lazy', 'dog']
>>> simpletokenizer.count_tokens("the fox jumps over the lazy dog")
7
>>> simpletokenizer.get_unique_words("the fox jumps over the lazy dog")
['fox', 'jumps', 'over', 'the', 'dog', 'lazy']

About

An example of developing services as a python package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages