From 5ce459d2ee722e45bf95765abdb0758d94f9587d Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 16 Aug 2018 17:18:09 +0200 Subject: [PATCH] Fix error in vocab --- spacy/vocab.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 1e7912907..d6701ac2f 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -224,7 +224,6 @@ cdef class Vocab: cdef int i tokens = self.mem.alloc(len(substrings) + 1, sizeof(TokenC)) for i, props in enumerate(substrings): - self.strings.add(props[ORTH]) props = intify_attrs(props, strings_map=self.strings, _do_deprecated=True) token = &tokens[i]