When specifying your own tokenizer, TextBlob expects a base class of nltk.tokenize.api.TokenizerI. While nltk.tokenize.TweetTokenizer provides the required interface, it does not meet that requirement. Added explicitly as a valid option, along with related tests.
When specifying your own tokenizer, TextBlob expects a base class of
nltk.tokenize.api.TokenizerI
. Whilenltk.tokenize.TweetTokenizer
provides the required interface, it does not meet that requirement. Added explicitly as a valid option, along with related tests.