Add ents_spangroup in doc.pyi.

This commit is contained in:
Raphael Mitsch 2022-12-15 16:12:42 +01:00
parent cdd5d69d60
commit e763d17966

View File

@ -2,7 +2,9 @@ from typing import Callable, Protocol, Iterable, Iterator, Optional
from typing import Union, Tuple, List, Dict, Any, overload
from cymem.cymem import Pool
from thinc.types import Floats1d, Floats2d, Ints2d
from .span import Span
from .span_group import SpanGroup
from .token import Token
from ._dict_proxies import SpanGroups
from ._retokenize import Retokenizer
@ -128,6 +130,7 @@ class Doc:
outside: Optional[List[Span]] = ...,
default: str = ...
) -> None: ...
ents_spangroup: SpanGroup
@property
def noun_chunks(self) -> Iterator[Span]: ...
@property