mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
* Add todo to morphology.lemmatize
This commit is contained in:
parent
ffedff9e6c
commit
dde9e1357c
|
@ -88,6 +88,8 @@ cdef class Morphology:
|
||||||
return orth
|
return orth
|
||||||
cdef unicode py_string = self.strings[orth]
|
cdef unicode py_string = self.strings[orth]
|
||||||
if pos != NOUN and pos != VERB and pos != ADJ and pos != PUNCT:
|
if pos != NOUN and pos != VERB and pos != ADJ and pos != PUNCT:
|
||||||
|
# TODO: This should lower-case
|
||||||
|
# return self.strings[py_string.lower()]
|
||||||
return orth
|
return orth
|
||||||
cdef set lemma_strings
|
cdef set lemma_strings
|
||||||
cdef unicode lemma_string
|
cdef unicode lemma_string
|
||||||
|
|
Loading…
Reference in New Issue
Block a user