mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
fix types (#12365)
This commit is contained in:
parent
6177c87539
commit
a1fc4ed962
|
@ -25,7 +25,8 @@ class Lexeme:
|
||||||
def orth_(self) -> str: ...
|
def orth_(self) -> str: ...
|
||||||
@property
|
@property
|
||||||
def text(self) -> str: ...
|
def text(self) -> str: ...
|
||||||
lower: str
|
orth: int
|
||||||
|
lower: int
|
||||||
norm: int
|
norm: int
|
||||||
shape: int
|
shape: int
|
||||||
prefix: int
|
prefix: int
|
||||||
|
|
|
@ -199,7 +199,7 @@ cdef class Lexeme:
|
||||||
return self.orth_
|
return self.orth_
|
||||||
|
|
||||||
property lower:
|
property lower:
|
||||||
"""RETURNS (str): Lowercase form of the lexeme."""
|
"""RETURNS (uint64): Lowercase form of the lexeme."""
|
||||||
def __get__(self):
|
def __get__(self):
|
||||||
return self.c.lower
|
return self.c.lower
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user