Usage#

Installation#

To use Modern Greek Inflexion, first install it using pip:

(.venv) $ pip install modern-greek-inflexion

Adjective#

To create all inflected adjective forms you can use the Adjective class you can import from the library in your python code:

from modern_greek_inflexion import Adjective
class modern_greek_inflexion.Adjective(adj: str, aklito: bool = False, basic_forms: {'adj': <class 'str'>, 'comparative': <class 'str'>, 'adverb': <class 'str'>, 'adverb_comparative': <class 'str'>} = None)#

This class can be used to create adjective forms, all or only in certain degree, you can do it by instantiating the class with a single basic form (nom sg masc), you can also add already prepared basic forms.

Parameters:
  • adj (str) – A single form nominative singular masculine.

  • aklito (bool, optional) – If you know the noun is indeclinable, set it to True

  • basic_forms (dict, optional) – a dictionary with the following shape {ADJ: "masc/fem/neut", COMPARATIVE: "parathetiko,alt_parathetiko/uperthetiko,alt_uperthetiko, ADVERB: "adverb,alt_adverb", ADVERB_COMPARATIVE: "adverb_parathetiko,alt_adverb_parathetiko/adverb_uperthetiko,alt_adverb_uperthetiko"}

all() {'adj': {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'adv': set[str], 'comp': {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'comp_adv': set[str], 'superl': {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'superl_adv': set[str]}#

Create all forms from a basic adjective form

Returns:

a dictionary with the following shape {ADJ: {SG: {MASC: {NOM: set(forms), ...}, ...}, ...}, ADV: set(forms), COMP: {SG: {MASC: {NOM: set(forms), ...}, ...}, ...}, COMP_ADV: set(forms), SUPERL: {SG: {MASC: {NOM: set(forms), ...}, ...}, ...}, SUPERL_ADV: set(forms)}

Return type:

dict

comparative_degree() {'comp': {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'comp_adv': set[str]}#

Creates comparative degree forms

Returns:

A dictionary of adjective forms in the comparative degree with the following shape: COMP: {SG: {MASC: {NOM: set(forms), ...}, ...}, ...}, COMP_ADV: set(forms)

Return type:

dict

positive_degree() {'adj': {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'adv': set[str]}#

Creates positive degree forms

Returns:

A dictionary of adjective forms in positive degree with the following shape: {ADJ: {SG: {MASC: {NOM: set(forms), ...}, ...}, ...}, ADV: set(forms)}

Return type:

dict

superlative_degree() {'superl': {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'superl_adv': set[str]}#

Create superlative degree forms

Returns:

A dictionary of adjective forms in the superlative degree with the following shape SUPERL: {SG: {MASC: {NOM: set(forms), ...}, ...}, ...}, SUPERL_ADV: set(forms)}

Return type:

dict

Adverb#

To create all adverb forms you can use the Adverb class you can import from the library in your python code:

from modern_greek_inflexion import Adverb
class modern_greek_inflexion.Adverb(adverb: str)#

This class can be used to create adverb forms

Parameters:

adverb (str) – an adverb form

all() {'adv': set[str], 'comp_adv': set[str], 'superl_adv': set[str], 'superl': {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'comp': {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}}#

If an adverb is creates comparative and superlative degree, or even if it creates adjectival forms in comparative and superlative degree, they will be found in the resulting dictionary.

Returns:

A dictionary always with an ADV key, and if it’s an adverb that creates comparative or/and superlative degree, there are also additional forms under COMP_ADV, SUPERL_ADV, COMP, SUPERL keys.

Return type:

dict

Article#

To create all article forms you can use the Article class you can import from the library in your python code:

from modern_greek_inflexion import Article
class modern_greek_inflexion.Article(article: str)#

This class creates article, it is an overkill, since it returns already created inflected forms, but added for the sake of completion of the API. Instantiate it with one of the articles (has to be nominative singular masculine)

Parameters:

article (str) – ο or ένας

all() {'sg': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'pl': {'masc': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'fem': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'neut': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}#

It returns a dictionary with inflected article forms

Returns:

A dictionary of the folloing shape {SG: {MASC: {NOM: set(forms), ...}, ...}, ...}

Return type:

dict

Noun#

To create all noun forms you can use the Noun class you can import from the library in your python code:

from modern_greek_inflexion import Noun
class modern_greek_inflexion.Noun(noun: str, proper_name: bool = False, gender: ~modern_greek_inflexion.resources.typing.Genders = None, aklito: bool | str = False, basic_forms: {'nom_sg': <class 'str'>, 'gen_sg': <class 'str'>, 'nom_pl': <class 'str'>, 'genders': list[modern_greek_inflexion.resources.typing.Genders], 'proper_name': <class 'bool'>} = None)#

This class can be used to create noun inflected forms.

Parameters:
  • noun (str) – A noun in nom sg, or, if it’s an only plural noun, then in nom pl

  • proper_name (bool, optional) – If you know it’s a proper name, set this flag to True (it has influence mainly on masc vocative)

  • gender (str, optional) – If you know the gender of a noun you can add it, the acceptable values are: MASC, MASC_PL, MASC_SG, FEM_SG, FEM, FEM_PL, NEUT_SG, NEUT, NEUT_PL, MASC_FEM

  • aklito (bool, optional) – If you know that the noun is indeclinable, set it to True

  • basic_forms (dict, optional) – If you already have basic forms of a noun, you can supply them in the form of a dictionary with the following structure: {NOM_SG: str, GEN_SG: str, NOM_PL: str, GENDER: str, proper_name: bool}

all() {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}#

Create all the inflected forms as a dictionary

Returns:

A dictionary with the following shape: {SG: {MASC: {NOM: set(forms), ...}, ...}

Return type:

dict

Numeral#

To create all noun forms you can use the Numeral class you can import from the library in your python code:

from modern_greek_inflexion import Numeral
class modern_greek_inflexion.Numeral(numeral: str, pos: str = 'adj')#

This class can be used to create inflected forms of numerals. Most numerals behave like adjectives, but there are also ones, that can be viewed as nouns, because of that you should supply this info during instantiation, but you can also hope that it will be correctly guessed by algorithm.

Parameters:
  • numeral (str) – nominative singular or plural

  • pos (str, optional) – if you know it is a noun numeral, set it to ‘noun’, otherwise set ‘adj’ or leave it out.

all() {ADJ: genders_declensions_type, ADV: set[str], COMP: genders_declensions_type, COMP_ADV: set[str], SUPERL: genders_declensions_type, SUPERL_ADV: set[str]} | genders_declensions_type#

This method will create all the inflected forms.

Returns:

If numeral is of noun type it returns a dictionary of the following shape {SG: {MASC: {NOM: set(forms), ...}, ...}, but if the numeral is of adjective type it returns a dictionary of this shape ‘’{ADJ: {SG: {MASC: {NOM: set(forms), …}, …}}’’

“rtype: dict

Pronoun#

To create all noun forms you can use the Pronoun class you can import from the library in your python code:

from modern_greek_inflexion import Pronoun
class modern_greek_inflexion.Pronoun(pronoun: str, strong: bool = True)#

This class can be used to create pronouns

Parameters:
  • pronoun (str) – Has to be nominative singular masculine, if it’s an adjectival pronoun, otherwise, if adverbial, there is only one form.

  • strong (bool, optional) – Applicable only for personal pronouns, which can be strong or weak, defaults to True.

all() {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}#

This method should be used to generate all the inflected forms

Returns:

A dictionary with the following shape {SG: {MASC: {NOM: set(forms), ...}, ...}. If the pronoun is adverbial, the shape is the same, but the values of grammatical variables are all ‘nd’: {'nd': {'nd': {'nd': {'πού'}}}}

Return type:

dict

Verb#

To create all noun forms you can use the Verb class you can import from the library in your python code:

from modern_greek_inflexion import Verb
class modern_greek_inflexion.Verb(verb: str, para: bool = False, basic_forms: {'act_pres_participle': set[str], 'active_aorist_participle': set[str], 'aorist': {'active': set[str], 'passive': set[str]}, 'arch_act_pres_participle': set[str], 'conjunctive': {'active': set[str], 'passive': set[str]}, 'modal': <class 'bool'>, 'pres_conjugation': <class 'str'>, 'paratatikos': {'active': set[str], 'passive': set[str]}, 'passive_aorist_participle': set[str], 'passive_perfect_participle': set[str], 'present': {'active': set[str], 'passive': set[str]}} = None)#

This class can be used to generate all or certain groups of inflected verbal forms

Parameters:
  • verb (str) – It has to be a lemma like form, that is the first person singular of present tense, or, if it’s a modal verb, the third person singular.

  • para (bool, optional) – there is a problem with prefix ‘παρα’, which can mean two very different things and so a verb prefixed with it, which can also influence the inflected forms a given verb generates. Generally speaking when ‘παρα’ has a rough meaning of “too much”, or “in very high frequency” a verb with such prefix tends to be fully detachable (that is the prefix does not influence inflexion”. But if ‘παρα’ derives its meaning from the ancient preposition πάρα, that rougly meansy “from above” or “from some distance” a verb can behave differently in regards of the augment and perfect forms (vide παραβλέπω - overlook and παραβλέπω - meet someone/ see sth too often). As the program is unable to predict which verb to conjugate, you can tell it by setting this flag to True, if the prefix para is detachable (that is its meaning is roughly “too much”). It defaults to False.

  • basic_forms (dict, optional) – If you have already generated basic verb forms, you can supply them. These have to be of the following shape: {ACT_PRES_PARTICIPLE: set[str], ACTIVE_AORIST_PARTICIPLE: set[str], AORIST: dict[ACTIVE: set[str],  PASSIVE: set[str]], ARCH_ACT_PRES_PARTICIPLE: set[str], CONJUNCTIVE: dict[ACTIVE: set[str], PASSIVE: set[str]], PRES_CONJUGATION: str, PARATATIKOS: dict[ACTIVE: set[str], PASSIVE: set[str]], PASSIVE_AORIST_PARTICIPLE: set[str], PASSIVE_PERFECT_PARTICIPLE: set[str], PRESENT: dict[ACTIVE: set[str], PASSIVE: set[str]]}

all() {'present': {'active': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}, 'imp': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}, 'passive': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}, 'imp': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}}, 'conjunctive': {'active': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}, 'imp': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}, 'passive': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}, 'imp': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}}, 'paratatikos': {'active': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}, 'passive': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}}, 'aorist': {'active': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}, 'passive': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}}, 'arch_act_pres_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'passive_perfect_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'pass_pres_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'active_aorist_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'passive_aorist_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'act_pres_participle': set[str]}#

This method will create all inflected forms

Returns:

A dictionary with personal forms and with participles

Return type:

dict

create_aorist() {'active': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}, 'passive': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}}#

This method can be used to generate aorist forms.

Returns:

A dictionary with the following shape: {ACTIVE: {IND: personal_forms_type}, PASSIVE: {IND: personal_forms_type}

Return type:

dict

create_conjunctive() {'active': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}, 'imp': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}, 'passive': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}, 'imp': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}}#

This method can be used to generate subjunctive forms and simple imperative

Returns:

A dictionary of the following shape {ACTIVE: {IND: personal_forms_type, IMP: personal_forms_type}, PASSIVE: {IND: personal_forms_type, IMP: personal_forms_type}

Return type:

dict

create_imperfect_forms() {'present': {'active': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}, 'imp': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}, 'passive': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}, 'imp': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}}, 'paratatikos': {'active': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}, 'passive': {'ind': {'sg': {'pri': set[str], 'sec': set[str], 'ter': set[str]}, 'pl': {'pri': set[str], 'sec': set[str], 'ter': set[str]}}}}}#

This method can be used to create imperfect tenses, that is present tense and paratatiko inflected forms.

Returns:

A dictionary of the following shape {PRESENT: ACTIVE: {IND: personal_forms_type, IMP: personal_forms_type}, PASSIVE: {IND: personal_forms_type, IMP: personal_forms_type}, PARATATIKOS: ACTIVE: {IND: personal_forms_type}, PASSIVE: {IND: personal_forms_type}}

Return type:

dict

create_participles() {'arch_act_pres_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'passive_perfect_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'pass_pres_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'active_aorist_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'passive_aorist_participle': {'fem': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'masc': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}, 'neut': {'sg': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}, 'pl': {'nom': set[str], 'voc': set[str], 'acc': set[str], 'gen': set[str]}}}, 'act_pres_participle': set[str]}#

this method creates all participle types (if a given verb actually does create them)

Returns:

A dictionary with the following keys ACT_PRES_PARTICIPLE, ARCH_ACT_PRES_PARTICIPLE, PASSIVE_PERFECT_PARTICIPLE, PASS_PRES_PARTICIPLE, ACTIVE_AORIST_PARTICIPLE, PASSIVE_AORIST_PARTICIPLE. The present active participle is adverbial, so under this key you will find only a single form, the rest participles create adjectival forms, and so they are of the following shape {SG: {MASC: {NOM: set(forms), ...}, ...}, ...}.

Return type:

dict