Closed xrotwang closed 7 years ago
Thanks for merging - hope you are not frustrated by my ever-changing views of what API is best :)
Not at all -- sorry for the slow merge (was returning to Z). Mattis is here now, so it was a good time to look it over and discuss next topics.
This PR
Tokenizer
Profile
andRules
become separate objects, which makes initialization more modular,tokenize
andtokenize_ipa
into a single method, implemented in__call__
(because tokenizing seems to be the default thing to do for a Tokenizer).tokenize
andprofile
closes #1