From 6e069c91f69127a40b722653bc5493c2b2c326d3 Mon Sep 17 00:00:00 2001 From: richardpaulhudson Date: Fri, 4 Nov 2022 12:50:07 +0100 Subject: [PATCH] Correct .pyi file --- spacy/tokens/doc.pyi | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/spacy/tokens/doc.pyi b/spacy/tokens/doc.pyi index 517a8359d..a748dfb79 100644 --- a/spacy/tokens/doc.pyi +++ b/spacy/tokens/doc.pyi @@ -177,33 +177,17 @@ class Doc: def get_character_combination_hashes( self, *, - cs: bool, + cs: bool, p_lengths: bytes, - p_max_l: int, s_lengths: bytes, - s_max_l: int, - ps_1byte_ch: bytes, - ps_1_byte_ch_l: int, - ps_2byte_ch: bytes, - ps_2_byte_ch_l: int, - ps_3byte_ch: bytes, - ps_3_byte_ch_l: int, - ps_4byte_ch: bytes, - ps_4_byte_ch_l: int, + ps_search_chars: bytes, + ps_width_offsets: bytes, ps_lengths: bytes, - ps_max_l: int, - ss_1byte_ch: bytes, - ss_1_byte_ch_l: int, - ss_2byte_ch: bytes, - ss_2_byte_ch_l: int, - ss_3byte_ch: bytes, - ss_3_byte_ch_l: int, - ss_4byte_ch: bytes, - ss_4_byte_ch_l: int, + ss_search_chars: bytes, + ss_width_offsets: bytes, ss_lengths: bytes, - ss_max_l: int, - hashes_per_tok: int, ) -> Ints2d: ... + @staticmethod def _get_array_attrs() -> Tuple[Any]: ...