mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-01 11:43:03 +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
|
end_char: int
|
||||||
label: int
|
label: int
|
||||||
kb_id: int
|
kb_id: int
|
||||||
|
id: int
|
||||||
ent_id: int
|
ent_id: int
|
||||||
ent_id_: str
|
ent_id_: str
|
||||||
@property
|
@property
|
||||||
def id(self) -> int: ...
|
|
||||||
@property
|
|
||||||
def id_(self) -> str: ...
|
|
||||||
@property
|
|
||||||
def orth_(self) -> str: ...
|
def orth_(self) -> str: ...
|
||||||
@property
|
@property
|
||||||
def lemma_(self) -> str: ...
|
def lemma_(self) -> str: ...
|
||||||
label_: str
|
label_: str
|
||||||
kb_id_: str
|
kb_id_: str
|
||||||
|
id_: str
|
||||||
|
|
Loading…
Reference in New Issue
Block a user