Allow Lexeme.rank to be set

This commit is contained in:
Matthew Honnibal 2017-08-24 21:43:00 +02:00
parent 44a1fa80d3
commit 6ceb0f0518

View File

@ -171,6 +171,8 @@ cdef class Lexeme:
property rank:
def __get__(self):
return self.c.id
def __set__(self, value):
self.c.id = value
property sentiment:
def __get__(self):