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"
评论列表
文章目录