crawl4ai
crawl4ai copied to clipboard
AttributeError: module 'nltk' has no attribute 'toknize'" in TopicSegmentationChunking
When executing the following code:
chunker = TopicSegmentationChunking(num_keywords=3)
Use o código [com cuidado](https://github.com/faq#coding).
The following error occurs:
---> 58Â Â Â Â Â self.tokenizer = nl.toknize.TextTilingTokenizer()
AttributeError: module 'nltk' has no attribute 'toknize'
Perhaps it should be tokenize instead of toknize?
Thanks for notifying me about the typo. It should be 'tokenize' and not 'toknize'. Plz install the library again.