mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Increase cache size. Processing now 6-7 mins
This commit is contained in:
parent
e096f30161
commit
51e2006a65
|
@ -118,7 +118,7 @@ cdef class Language:
|
|||
lexemes[i] = <LexemeC*>self.lexicon.get(substring)
|
||||
tokens.push_back(lexemes[i])
|
||||
lexemes[i + 1] = NULL
|
||||
if self.cache_size < 1000000:
|
||||
if self.cache_size < 10000000:
|
||||
self.cache[hashed] = <size_t>lexemes
|
||||
self.cache_size += 1
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user