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)