processTweets.py 文件源码

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

项目:Twitter-Analysis 作者: AparaV 项目源码 文件源码
def analyze(self, number=20):
        self.number = number
        common_terms = self.terms_only()
        common_hashes = self.hash_only()
        common_mentions = self.mentions_only()
        common_coocurrances = self.cooccurances()
        self.toJSON(common_terms)
        #self.timeDataVisualization()
        #self.printInstructions()
        #self.server = Server()
        #self.server.openbrowser('http://localhost:8000/chart.html')

    # def printInstructions(self):
    #     print "Setup server by going into console:"
    #     print ">>>python -m SimpleHTTPServer"
    #     print "Go to http://localhost:8000 on your browser"
    #     print "View chart.html"
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号