word1=['比賽', '風暴', '競彩', '推薦', '客場', '風暴', '競彩','分主勝小分', '擊敗', '籃球']
a={}
word_dict={} 创建一个字典
word12=[]
for word in word1: 统计词频
if word not in word_dict:
word_dict[word]=1
else:
word_dict[word]+=1
aaa.append(word1)
for i in word_dict:
if (word_dict[i]>2):
print(i,word_dict[i])
a[i]=word_dict[i]