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

 
Modules
       
pyphen

 
Classes
       
builtins.object
SyllableSplitter

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

 
  Methods defined here:
__call__(self, doc: spacy.tokens.doc.Doc) -> spacy.tokens.doc.Doc
This method will find the syllables for each token that is a word.
 
Parameters:
doc(Doc): A Spacy document.
__init__(self, language: str = 'es') -> None
This constructor will initialize the object that handles syllable processing.
 
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 = 'syllable splitter'

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