Skip to content

Latest commit

 

History

History
98 lines (55 loc) · 2.16 KB

properties.md

File metadata and controls

98 lines (55 loc) · 2.16 KB

Morphological properties

Overview

Of the four data sets Kanones uses (vocabulary, forms, stems and rules), only one is not editable: forms. The set of possible forms defines a morphology as "Greek".

Morphological forms (next page) are defined by unique sets of the morphological properties (that is, subtypes of GreekMorphologicalProperty) listed here.

using Kanones
person = GMPPerson(3)

All properties work with the label and code functions.`

label(person)
code(person)

Properties

The full set of properties is: person, number, tense, mood, voice, gender, case, degree and uninflected part of speech.

Properties may be constructed directly from numeric codes, or from the string value returned by its label function by using an constructor function with identical name to the type but with initial lowercase gmp.

Person: three values labelled first, second, third.

gmpPerson(3) == gmpPerson("third")

Number: three values labelled singular, dual, plural.

gmpNumber(3) == gmpNumber("plural")

Tense: six values labelled present, imperfect, aorist, perfect, pluperfect and future.

gmpTense(3) == gmpTense("aorist")

Mood: four values labelled indicative, subjunctive, optative, imperative.

gmpMood(1) == gmpMood("indicative")

Voice: three values labelled active, middle, passive.

gmpVoice(2) == gmpVoice("middle")

Gender: three values labelled masculine, feminine, neuter.

gmpGender(2) == gmpGender("feminine")

Case: five values labelled nominative, genitive, dative, accusative, vocative.

gmpCase(2) == gmpCase("genitive")

Degree: three values labelled positive, comparative, superlative.

gmpDegree(2) == gmpDegree("comparative")

Uninflected part of speech: six values labelled conjunction, preposition, particle, adverb, numeral, interjection

gmpUninflectedType(2) == gmpUninflectedType("preposition")