          *,
          assigns: Iterable[str] = tuple(),
          requires: Iterable[str] = tuple(),
          retokenizes: bool = False,
          scores: Iterable[str] = tuple(),
          default_score_weights: Dict[str, float] = SimpleFrozenDict(),
          func: Optional[Callable[[Doc], Doc]] = None,
      ) -> Callable:
          """Register a new pipeline component. Can be used for stateless function
          components that don't require a separate factory. Can be used as a
          decorator on a function or classmethod, or called as a function with the
 
</s> remove         scores (Iterable[str]): All scores set by the component if it's trainable,
            e.g. ["ents_f", "ents_r", "ents_p"].
        default_score_weights (Dict[str, float]): The scores to report during
            training, and their default weight towards the final score used to
            select the best model. Weights should sum to 1.0 per component and
            will be combined and normalized for the whole pipeline.
 </s> add  </s> remove         verbose (bool): Print debugging information.
 </s> add  </s> remove         verbose: bool = False,
 </s> add  </s> remove     docs: Union[Iterable[Doc], Doc],
 </s> add     docs: Union[Iterable[Union[Doc, Span]], Doc, Span], </s> remove         getter: Callable[[Doc, str], Any] = getattr,
 </s> add         getter: Callable[[Doc, str], Iterable[Span]] = getattr,
          *,
          assigns: Iterable[str] = tuple(),
          requires: Iterable[str] = tuple(),
          retokenizes: bool = False,


          func: Optional[Callable[[Doc], Doc]] = None,
      ) -> Callable:
          """Register a new pipeline component. Can be used for stateless function
          components that don't require a separate factory. Can be used as a
          decorator on a function or classmethod, or called as a function with the
keep keep keep keep replace replace keep keep keep keep keep
 Update docs, types and API consistency 
spacy/language.py