in archive/preprocess/growphrase3.py [0:0]
def saveTokenResults(self):
results = {'itemset':self.itemset, 'tweets':[{'cnt':t[1], 'text':t[0]} for t in self.texts]}
f = open('tokenResults.json', 'w')
#f.write((json.dumps(results, ensure_ascii=False)))
f.write((json.dumps(results)))
f.close()