From 66e2eb8f397c82505d5b44c1b52071fcda2a5a1c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 16 Oct 2017 19:34:41 +0200 Subject: [PATCH] Clean up remnant of frozen in StringStore --- spacy/strings.pyx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spacy/strings.pyx b/spacy/strings.pyx index 29a706996..e6926a75d 100644 --- a/spacy/strings.pyx +++ b/spacy/strings.pyx @@ -261,10 +261,6 @@ cdef class StringStore: cdef Utf8Str* value = self._map.get(key) if value is not NULL: return value - value = self._oov.get(key) - if value is not NULL: - return value - value = _allocate(self.mem, utf8_string, length) self._map.set(key, value) self.keys.push_back(key)