From 029a48e3408f95a7e2ca87ff825e97625f010f93 Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Tue, 4 Jan 2022 13:15:25 +0100 Subject: [PATCH] fix type of lexeme.rank (#9979) --- spacy/lexeme.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lexeme.pyi b/spacy/lexeme.pyi index 4eae6be43..4fcaa82cf 100644 --- a/spacy/lexeme.pyi +++ b/spacy/lexeme.pyi @@ -19,7 +19,7 @@ class Lexeme: @property def vector_norm(self) -> float: ... vector: Floats1d - rank: str + rank: int sentiment: float @property def orth_(self) -> str: ...