forked from mrlan/EnglishPal
Bug493-Fix
parent
0962d95ce1
commit
b9a6e4407e
|
@ -85,6 +85,10 @@ def mainpage():
|
|||
content = escape(request.form['content'])
|
||||
f = WordFreq(content)
|
||||
lst = f.get_freq()
|
||||
for i in lst:
|
||||
if '&' in i[0]:
|
||||
i[0].replace('&','\'')
|
||||
#此处由于找不到输出的所以对其输入的格式进行重新规范
|
||||
# save history
|
||||
d = load_freq_history(path_prefix + 'static/frequency/frequency.p')
|
||||
lst_history = pickle_idea.dict2lst(d)
|
||||
|
|
Loading…
Reference in New Issue