Commit 6a061403 authored by 高雅喆's avatar 高雅喆

fix bug in getTopFeatures.py

parent 5d2df59d
...@@ -88,7 +88,7 @@ class TopFeatures(object): ...@@ -88,7 +88,7 @@ class TopFeatures(object):
topn.sort(key=lambda x:x[4],reverse=True) topn.sort(key=lambda x:x[4],reverse=True)
return topn[:int(self.top_n)] return topn[:int(self.top_n)]
def result2file(self, cid_type, result_lst, fpath): def result2file(self, result_lst, fpath):
""" """
cid_type : 'diary';'answer';'question';"everything"... #方便显示 cid_type : 'diary';'answer';'question';"everything"... #方便显示
result_lst : [all_result,ios_result,android_result] result_lst : [all_result,ios_result,android_result]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment