From 51e2006a65860f145e926be944da1f4616e5fbbf Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 12 Sep 2014 02:52:34 +0200 Subject: [PATCH] * Increase cache size. Processing now 6-7 mins --- spacy/lang.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lang.pyx b/spacy/lang.pyx index 3dca09ac6..9391d04cb 100644 --- a/spacy/lang.pyx +++ b/spacy/lang.pyx @@ -118,7 +118,7 @@ cdef class Language: lexemes[i] = 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] = lexemes self.cache_size += 1 else: