From 276478fe0f112e7b4dd656d4d91cf652661350a2 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 24 Oct 2016 14:00:35 +0200 Subject: [PATCH] Update strings.pxd --- spacy/strings.pxd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spacy/strings.pxd b/spacy/strings.pxd index 35b7d3d76..d5e320642 100644 --- a/spacy/strings.pxd +++ b/spacy/strings.pxd @@ -19,9 +19,11 @@ cdef class StringStore: cdef Pool mem cdef Utf8Str* c cdef int64_t size + cdef bint is_frozen cdef public PreshMap _map + cdef public PreshMap _oov cdef int64_t _resize_at - cdef const Utf8Str* intern(self, unicode py_string) except NULL - cdef const Utf8Str* _intern_utf8(self, char* utf8_string, int length) except NULL + cdef const Utf8Str* intern_unicode(self, unicode py_string) + cdef const Utf8Str* _intern_utf8(self, char* utf8_string, int length)