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

 
Classes
       
builtins.object
ReferentialCohesionAllSentencesAnalyzer

 
class ReferentialCohesionAllSentencesAnalyzer(builtins.object)
    ReferentialCohesionAllSentencesAnalyzer(language: str = 'es') -> None
 

 
  Methods defined here:
__call__(self, doc: spacy.tokens.doc.Doc) -> spacy.tokens.doc.Doc
This method will calculate the referential cohesion between adjacent sentences in a text.
 
Parameters:
doc(Doc): A Spacy document.
__init__(self, language: str = 'es') -> None
This constructor will initialize the object that processes referential cohesion for adjacent sentences in a text. It goes after sentencizer.
 
Parameters:
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 = 'referential cohesion all sentences analyzer'

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