linguappt.es package

Submodules

linguappt.es.phrase_summary module

class linguappt.es.phrase_summary.SpanishPhrasePPT(sourcefile, title='', genre='classic')

Bases: linguappt.phrase_ppt.PhrasePPT

Create Phrase PPT for Spanish study

content

read from csv file

Type

list of dict

content_keys = ['sentence', 'noun_phrases', 'verbs']
lang = 'es'

linguappt.es.structure_kg_summary module

class linguappt.es.structure_kg_summary.SpanishStructureKGPPT(sourcefile, title='', genre='classic')

Bases: linguappt.structure_kg_ppt.StructureKGPPT

Create StructureKG PPT for English study

content

read from csv file

Type

list of dict

content_keys = ['sentence', 'structure', 'structure_rep', 'kg']
lang = 'es'

linguappt.es.vocab_meta module

class linguappt.es.vocab_meta.SpanishVocabMeta

Bases: object

article_variation = {'f.': ['una', 'la', 'unas', 'las', 'fpl'], 'f.pl.': ['una', 'la', 'unas', 'las', 'f'], 'm.': ['un', 'el', 'unos', 'los', 'mpl'], 'm.pl.': ['un', 'el', 'unos', 'los', 'm']}
classmethod get_pos(dict_pos)
classmethod get_pos_cn_name(pos)
classmethod get_pos_name(pos)
pos_info = {'adj': ('形容词', 'el adjectivo', ['adj.']), 'adv': ('副词', 'el adverbio', ['adv.']), 'noun': ('名词', 'el nombre', ['noun.', 'f.', 'm.', 'f.m.', 'propn,', 'f.pl.', 'm.pl.']), 'other': ('其他', 'los otros', []), 'prep': ('前置词', '', ['prep.', 'adp.']), 'pron': ('代词', 'los pronombres', ['pron.']), 'verb': ('动词', 'el verbo', ['verb.', 'vr.', 'vi.', 'vt.', 'aux.'])}
tense_info = {'gerundio': '现在分词', 'imperativo_afirmativo': '命令式-肯定', 'imperativo_negativo': '命令式-否定', 'indicativo-condicional': '条件式', 'indicativo-futuro': '陈述式-将来时', 'indicativo-imperfecto': '陈述式-未完成时', 'indicativo-presente': '陈述式-现在时', 'indicativo-pretérito': '陈述式-过去时', 'participio': '过去分词', 'subjuntivo-futuro': '虚拟式-将来时', 'subjuntivo-imperfecto': '虚拟式-未完成时', 'subjuntivo-presente': '虚拟式-现在时'}

linguappt.es.vocab_summary module

class linguappt.es.vocab_summary.SpanishVocabPPT(sourcefile, title='', genre='classic')

Bases: linguappt.vocab_ppt.VocabPPT

Create Vocabulary PPT for Spanish study

content

read from csv file

Type

list of dict

word_distrubtion

key is PoS, e.g, noun, verb, daj, value is list of vocabularies

Type

dict

ALLOWED_POSES = ['noun', 'adj', 'verb']
content_keys = ['word', 'meaning', 'dict_pos', 'from', 'extension', 'variations', 'examples']
lang = 'es'

Module contents