成功解决LookupError:   Resource [93maveraged_perceptron_tagger[0m not found.   Please use the NLTK Downl

成功解决LookupError:  Resource [93maveraged_perceptron_tagger[0m not found.  Please use the NLTK Downl


解决问题

LookupError: 
**********************************************************************
  Resource [93maveraged_perceptron_tagger[0m not found.
  Please use the NLTK Downloader to obtain the resource:

解决思路

查找错误:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
资源 [93maveraged_perceptron_tagger] 未找到。
请使用NLTK下载器获取资源:

解决方法

执行下列代码即可!

import nltk

nltk.download('averaged_perceptron_tagger')

哈哈,大功告成!

(0)

相关推荐