ontolex / morph

The Morphology Module for the OntoLex Model
5 stars 6 forks source link

InflectionType #11

Closed chiarcos closed 2 months ago

chiarcos commented 2 years ago

current definitions:

this definition does not work for the current diagram, if one inflection type represents the position for all cases, we cannot associate the form for, say, dative with the rule for dative via inflection type (thanks to Matteo for pointing that out).

Comparing alternatives

current model

  1. Form -inflectionType-> InflectionType

  2. Paradigm <-paradigm- InflectionType

  3. InflectionType -inflectionRule-> InflectionRule

  4. InflectionType -next-> InflectionType

alternative 0: keep current model, one inflection type per paradigm and rule

alternative 1: detach InflectionType

  1. Form -inflectionRule-> InflectionRule
  2. Paradigm <-paradigm- InflectionRule
  3. InflectionRule -inflectionType-> InflectionType
  4. InflectionType -next-> InflectionType

note: paradigms should be allomorphy-free, then (this is at odds with traditional usage of “paradigm”. in inflection tables, it normally includes allopmporphic variants.

alternative 2: replace InflectionType by GrammaticalMeaning

  1. Form -inflectionRule-> InflectionRule
  2. Paradigm <-paradigm- InflectionRule
  3. InflectionRule -grammaticalMeaning-> GrammaticalMeaning
  4. GrammaticalMeaning -next-> GrammaticalMeaning

alternative 3: merge InflectionType with InflectionRule

  1. Form -inflectionRule-> InflectionRule
  2. Paradigm <-paradigm- InflectionRule
  3. InflectionRule -grammaticalMeaning-> GrammaticalMeaning
  4. InflectionRule -next-> InflectionRule
chiarcos commented 2 years ago

my favorite would be alternative 2, with the following modifications:

pennyl67 commented 2 years ago

For fusional languages, alternatives 1 - 3 have no difference, as they all "drop" InflectionType. (See examples added at the minutes to be discussed next time: https://docs.google.com/document/d/1ckwhltPxJKxFpEOwTanOHHHIM0HvYm_Q38B191e1dpY/edit#heading=h.28k0zvfnaaec).

Note that for the current model, we have added grammatical meaning (be it a single feature or a set of features) as a property on inflection rule (this is not depicted in the diagram, see issue https://github.com/ontolex/morph/issues/11).

The current model is less economical compared to the other alternatives; so, alternative 2 sounds ok, but let's see also how this can be used for agglutinative languages.

Regarding renaming "GrammaticalMeaning" to "FeatureBundle", +1.

chiarcos commented 9 months ago

current diagram implements alternative 1

chiarcos commented 2 months ago