LookupError:
Resource omw-1.4 not found.
Please use the NLTK Downloader to obtain the resource:
import nltk
>>> nltk.download(‘omw-1.4’)
从https://github.com/nltk/nltk_data下载需要的包,如nltk_data/packages/corpora
/omw-1.4.zip,解压放到如/usr/local/share/nltk_data/corpora,这样就手动安装成功了
图源