如何下载NLTK数据?
>>> import nltk>>> nltk.download()
Traceback (most recent call last): File "<pyshell#6>", line 1, in <module> nltk.download()AttributeError: 'module' object has no attribute 'download' Directory of C:\Python32\Lib\site-packages
nltk.download()
nltk.downloader()
help(nltk)
NAME nltk PACKAGE CONTENTS align app (package) book ccg (package) chat (package) chunk (package) classify (package) cluster (package) collocations corpus (package) data decorators downloader draw (package) examples (package) featstruct grammar help inference (package) internals lazyimport metrics (package) misc (package) model (package) parse (package) probability sem (package) sourcedstring stem (package) tag (package) test (package) text tokenize (package) toolbox tree treetransforms util yamltags FILE c:\python32\lib\site-packages\nltk
慕尼黑的夜晚无繁华
相关分类