mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-09 08:00:34 +03:00
Fix typo in Language docstrings (#7958)
This commit is contained in:
parent
12d3d0fedd
commit
e99ff6f255
|
@ -433,9 +433,9 @@ class Language:
|
||||||
default_config (Dict[str, Any]): Default configuration, describing the
|
default_config (Dict[str, Any]): Default configuration, describing the
|
||||||
default values of the factory arguments.
|
default values of the factory arguments.
|
||||||
assigns (Iterable[str]): Doc/Token attributes assigned by this component,
|
assigns (Iterable[str]): Doc/Token attributes assigned by this component,
|
||||||
e.g. "token.ent_id". Used for pipeline analyis.
|
e.g. "token.ent_id". Used for pipeline analysis.
|
||||||
requires (Iterable[str]): Doc/Token attributes required by this component,
|
requires (Iterable[str]): Doc/Token attributes required by this component,
|
||||||
e.g. "token.ent_id". Used for pipeline analyis.
|
e.g. "token.ent_id". Used for pipeline analysis.
|
||||||
retokenizes (bool): Whether the component changes the tokenization.
|
retokenizes (bool): Whether the component changes the tokenization.
|
||||||
Used for pipeline analysis.
|
Used for pipeline analysis.
|
||||||
default_score_weights (Dict[str, float]): The scores to report during
|
default_score_weights (Dict[str, float]): The scores to report during
|
||||||
|
@ -518,9 +518,9 @@ class Language:
|
||||||
|
|
||||||
name (str): The name of the component factory.
|
name (str): The name of the component factory.
|
||||||
assigns (Iterable[str]): Doc/Token attributes assigned by this component,
|
assigns (Iterable[str]): Doc/Token attributes assigned by this component,
|
||||||
e.g. "token.ent_id". Used for pipeline analyis.
|
e.g. "token.ent_id". Used for pipeline analysis.
|
||||||
requires (Iterable[str]): Doc/Token attributes required by this component,
|
requires (Iterable[str]): Doc/Token attributes required by this component,
|
||||||
e.g. "token.ent_id". Used for pipeline analyis.
|
e.g. "token.ent_id". Used for pipeline analysis.
|
||||||
retokenizes (bool): Whether the component changes the tokenization.
|
retokenizes (bool): Whether the component changes the tokenization.
|
||||||
Used for pipeline analysis.
|
Used for pipeline analysis.
|
||||||
func (Optional[Callable]): Factory function if not used as a decorator.
|
func (Optional[Callable]): Factory function if not used as a decorator.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user