Annotator

class Annotator[source]

Bases: ABC, Generic[R]

An interface for something that can annotate.

Methods Summary

annotate(text, **kwargs)

Annotate the text.

Methods Documentation

abstractmethod annotate(text: str, **kwargs: Any) list[Annotation][source]

Annotate the text.