Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Update src/canopy/tokenizer/tokenizer.py
Browse files Browse the repository at this point in the history
Co-authored-by: igiloh-pinecone <[email protected]>
  • Loading branch information
acatav and igiloh-pinecone authored Nov 2, 2023
1 parent c0ed6d3 commit cfee71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canopy/tokenizer/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Tokenizer:
>>> from canopy.tokenizer import Tokenizer
>>> Tokenizer.initialize()
Then, you can init a tokenizer instance by calling Tokenizer() from anywhere in the code and use it:
Then, you can instantiate a tokenizer instance by calling Tokenizer() from anywhere in the code and use it:
>>> tokenizer = Tokenizer()
>>> tokenizer.tokenize("Hello world!")
['Hello', 'world', '!']
Expand Down

0 comments on commit cfee71c

Please sign in to comment.