Python NLTK multi threading
问题 I am writing an algorithm which identifies sentences in given text, split each sentence into words & return these words after some validations. I want to implement the same with the help of multi threading. I'm calling my function which deals with each sentence in threading.thread() for which it throws an error: AttributeError: 'WordListCorpusReader' object has no attribute '_LazyCorpusLoader__args' However, there are few blogs which suggest to use " wn.ensure_loaded() " function. But python