mirror of https://github.com/explosion/spaCy.git
Bump rolling buffer size to 10k
This commit is contained in:
parent
66e2eb8f39
commit
2bc06e4b22
|
@ -526,7 +526,7 @@ class Language(object):
|
|||
for word in doc:
|
||||
recent_strings.add(word.text)
|
||||
recent_refs.add(doc)
|
||||
if nr_seen < 1000:
|
||||
if nr_seen < 10000:
|
||||
old_refs.add(doc)
|
||||
nr_seen += 1
|
||||
elif len(old_refs) == 0:
|
||||
|
|
Loading…
Reference in New Issue