| | |
- builtins.object
-
- TemporalConnectivesTagger
class TemporalConnectivesTagger(builtins.object) |
| |
TemporalConnectivesTagger(nlp, language: str = 'es') -> None
This tagger has the task to find all temporal connectives in a document. It needs to go after the 'Tagger' pipeline component. |
| |
Methods defined here:
- __call__(self, doc: spacy.tokens.doc.Doc) -> spacy.tokens.doc.Doc
- This method will find all temporal connectives and store them in an iterable.
Parameters:
doc(Doc): A Spacy document.
- __init__(self, nlp, language: str = 'es') -> None
- This constructor will initialize the object that tags temporal connectives.
Parameters:
nlp: The Spacy model to use this tagger with.
language: The language that this pipeline will be used in.
Returns:
None.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- name = 'temporal connective tagger'
| |