          requires (Iterable[str]): Doc/Token attributes required by this component,
              e.g. "token.ent_id". Used for pipeline analyis.
          retokenizes (bool): Whether the component changes the tokenization.
              Used for pipeline analysis.
          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.
          func (Optional[Callable]): Factory function if not used as a decorator.
  
          DOCS: https://spacy.io/api/language#component
          """
          if name is not None and not isinstance(name, str):
 
</s> remove         getter (Callable[[Doc, str], Any]): Defaults to getattr. If provided,
            getter(doc, attr) should return the spans for the individual doc.
 </s> add         getter (Callable[[Doc, str], Iterable[Span]]): Defaults to getattr. If
            provided, getter(doc, attr) should return the spans for the
            individual doc. </s> remove         scores: Iterable[str] = tuple(),
        default_score_weights: Dict[str, float] = SimpleFrozenDict(),
 </s> add  </s> remove         verbose (bool): Print debugging information.
 </s> add  </s> remove                 scores=scores,
                default_score_weights=default_score_weights,
 </s> add  </s> remove         getter: Callable[[Doc, str], Any] = getattr,
 </s> add         getter: Callable[[Doc, str], Iterable[Span]] = getattr,
          requires (Iterable[str]): Doc/Token attributes required by this component,
              e.g. "token.ent_id". Used for pipeline analyis.
          retokenizes (bool): Whether the component changes the tokenization.
              Used for pipeline analysis.






          func (Optional[Callable]): Factory function if not used as a decorator.
  
          DOCS: https://spacy.io/api/language#component
          """
          if name is not None and not isinstance(name, str):
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Update docs, types and API consistency 
spacy/language.py