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)
GMPPerson(3)
All properties work with the label
and code
functions.`
label(person)
"third"
code(person)
3
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")
true
Number: three values labelled singular
, dual
, plural
.
gmpNumber(3) == gmpNumber("plural")
true
Tense: six values labelled present
, imperfect
, aorist
, perfect
, pluperfect
and future
.
gmpTense(3) == gmpTense("aorist")
true
Mood: four values labelled indicative
, subjunctive
, optative
, imperative
.
gmpMood(1) == gmpMood("indicative")
true
Voice: three values labelled active
, middle
, passive
.
gmpVoice(2) == gmpVoice("middle")
true
Gender: three values labelled masculine
, feminine
, neuter
.
gmpGender(2) == gmpGender("feminine")
true
Case: five values labelled nominative
, genitive
, dative
, accusative
, vocative
.
gmpCase(2) == gmpCase("genitive")
true
Degree: three values labelled positive
, comparative
, superlative
.
gmpDegree(2) == gmpDegree("comparative")
true
Uninflected part of speech: six values labelled conjunction
, preposition
, particle
, adverb
, numeral
, interjection
gmpUninflectedType(2) == gmpUninflectedType("preposition")
true