mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
* Fix spans.lemma_
This commit is contained in:
parent
f4cc222ec3
commit
5f2a4ff36d
|
@ -132,7 +132,7 @@ cdef class Span:
|
||||||
|
|
||||||
property lemma_:
|
property lemma_:
|
||||||
def __get__(self):
|
def __get__(self):
|
||||||
return self.orth_
|
return ' '.join([t.lemma_ for t in self]).strip()
|
||||||
|
|
||||||
property label_:
|
property label_:
|
||||||
def __get__(self):
|
def __get__(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user