Commit 27c6f848 authored by rico.liu's avatar rico.liu

update recommend limit

parent 81ef4987
......@@ -34,7 +34,7 @@ class Example(Frame):
self.debug = False
self.colorAllChunk = True
self.recommendFlag = True
self.history = deque(maxlen=20)
self.history = deque(maxlen=100)
self.currentContent = deque(maxlen=1)
'''
......
......@@ -38,7 +38,7 @@ def maximum_matching(train_text, decode_text, entityRe = r'\[\@.*?\#.*?\*\](?!\#
new_string = sentences[idx] + '\n'
else:
new_string = sentences[idx]
if idx > 20 :
if idx > 9999999 :
far_sentences += new_string
else:
near_sentences += new_string
......
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