mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix types for Span.id and Span.id_ (#11744)
This commit is contained in:
parent
bbf64cfc43
commit
ea326cf47d
|
@ -117,15 +117,13 @@ class Span:
|
|||
end_char: int
|
||||
label: int
|
||||
kb_id: int
|
||||
id: int
|
||||
ent_id: int
|
||||
ent_id_: str
|
||||
@property
|
||||
def id(self) -> int: ...
|
||||
@property
|
||||
def id_(self) -> str: ...
|
||||
@property
|
||||
def orth_(self) -> str: ...
|
||||
@property
|
||||
def lemma_(self) -> str: ...
|
||||
label_: str
|
||||
kb_id_: str
|
||||
id_: str
|
||||
|
|
Loading…
Reference in New Issue
Block a user