Bases: ABC
A Parser that performs morphosyntactic analysis on a raw string and returns
an instance of a concrete implementation of the DocumentProtocol.
Source code in src/limes/parsers/interfaces.py
| class Parser(ABC):
"""
A Parser that performs morphosyntactic analysis on a raw string and returns
an instance of a concrete implementation of the `DocumentProtocol`.
"""
@abstractmethod
def __call__(self, text: str) -> DocumentProtocol:
pass
|