analyse.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:Political-Opinion-Finder 作者: philhabell 项目源码 文件源码
def nltkDownload(self):
        try:
            nltk.data.find("tokenizers")
        except LookupError:
            #self.dis.spinner("Downloading NLTK Data")
            print("No NLTK data found, downloading now...")
            nltk.download("all")
            #self.dis.stop()


    # The searcher find tweets in the database with with the search term handed
    # to it with. It will return the tweets the term and number of times it 
    # apeares in the database in a dictionary.
    # It must be handed:
    #    *a search term as a string
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号