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]: ...