text_complexity_analyzer_cm.pipes.causal_connectives_tagger
index
/home/hans/Proyectos/Python/TextComplexityAnalyzerCM/text_complexity_analyzer_cm/pipes/causal_connectives_tagger.py

 
Classes
       
builtins.object
CausalConnectivesTagger

 
class CausalConnectivesTagger(builtins.object)
    CausalConnectivesTagger(nlp, language: str = 'es') -> None
 
This tagger has the task to find all causal 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 causal 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 causal 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 = 'causal connective tagger'

 
Functions
       
causal_connectives_getter lambda doc

 
Data
        ACCEPTED_LANGUAGES = {'es': 'es_core_news_lg'}