当前位置:   article > 正文

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

resource [93maveraged_perceptron_tagger[0m not found. please use the nltk

成功解决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下载器获取资源:

 

解决方法

执行下列代码即可!

  1. import nltk
  2. nltk.download('averaged_perceptron_tagger')

哈哈,大功告成!

 

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/377129
推荐阅读
相关标签
  

闽ICP备14008679号