* Hack around lack of distribution features for now.

This commit is contained in:
Matthew Honnibal 2014-07-31 18:24:51 +01:00
parent 4cb88c940b
commit a44e15f623

View File

@ -146,7 +146,8 @@ cdef class Language:
# Delete last element.
last_elem = deref(self.happax[0].end())
free(<Orthography*>self.ortho[0][last_elem.first])
free(<Distribution*>self.distri[0][last_elem.first])
# TODO: Do this when we set distributions
#free(<Distribution*>self.distri[0][last_elem.first])
free(<Lexeme*>last_elem.second)
self.happax[0].erase(last_elem.first)
self.ortho[0].erase(last_elem.first)