From a44e15f6234e4b5d6fa04b9c7bb13aa6f4b17ff9 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 31 Jul 2014 18:24:51 +0100 Subject: [PATCH] * Hack around lack of distribution features for now. --- spacy/spacy.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/spacy.pyx b/spacy/spacy.pyx index d36eaafe2..535f2ae55 100644 --- a/spacy/spacy.pyx +++ b/spacy/spacy.pyx @@ -146,7 +146,8 @@ cdef class Language: # Delete last element. last_elem = deref(self.happax[0].end()) free(self.ortho[0][last_elem.first]) - free(self.distri[0][last_elem.first]) + # TODO: Do this when we set distributions + #free(self.distri[0][last_elem.first]) free(last_elem.second) self.happax[0].erase(last_elem.first) self.ortho[0].erase(last_elem.first)