From f5a6aac906284951db83bde12e376aed2546096b Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 30 Sep 2016 20:01:51 +0200 Subject: [PATCH] Changes to tagger for new string store scheme --- spacy/tagger.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tagger.pyx b/spacy/tagger.pyx index 64b3e9cc2..ce2f8ba05 100644 --- a/spacy/tagger.pyx +++ b/spacy/tagger.pyx @@ -198,7 +198,7 @@ cdef class Tagger: self.model.set_scoresC(eg.c.scores, eg.c.features, eg.c.nr_feat) guess = VecVec.arg_max_if_true(eg.c.scores, eg.c.is_valid, eg.c.nr_class) - self.vocab.morphology.assign_tag(&tokens.c[i], guess) + self.vocab.morphology.assign_tag(&tokens.c[i], guess, mem=tokens.mem) eg.fill_scores(0, eg.c.nr_class) tokens.is_tagged = True tokens._py_tokens = [None] * tokens.length