Finite state and Constraint Grammar based analysers, proofing tools and other resources
View the project on GitHub giellalt/lang-fit
This file documents the Meänkieli twolc file (the file governing gradation, gemination, vowel harmony and other morphophonological processes).
The first part of the file contains definitions, the second part contains rules.
This defines all symbols (letters, archiphonemes, triggers) to be used.
Here we group the symbols in convenient sets.
This defines strings used often in rules.
WeakGrade = ([l|n|r]) (%^AE:) %^WG:
This chapter gives the rules themselves.
For the gradation rules, each consonant deletion or change is given its own rule. Thus, both kk:k and k:0 are handled in the same *k:0 rule. This to avoid rule conflicts. The change rules (k:g, k:j etc.) are restricted by context (k:g only after n, etc.).
RULE: f:0
RULE: j:0
RULE: k:g
Tests:
RULE: k:0
Tests:
RULE: k:j
RULE: k4:j
Tests:
sylje0>n
!
(Eng. k3:j ?)!
(Eng. k:0?)RULE: k:v
Tests:
RULE: k:v
RULE: m:0
RULE: n:0
RULE: p:0
Tests:
RULE: p:v
Tests:
RULE: p:m
RULE: p:m
RULE: r:0
RULE: t:0
Tests:
RULE: t4:0 where t4 is t in rt that shall not become rr
Tests:
RULE: t:j
Tests:
**RULE: t:l ** for lt:ll
Tests:
**RULE: t:n ** for nt:nn
Tests:
**RULE: t:r ** for rt:rr
Tests:
RULE: t:s
Tests:
RULE: v:0
The gemination rules insert the geminated consonant (thus 0:h if h to the left). There is one subrule for each vowel context, in order to avoid confilcts.
RULE: Gemination 0:h
RULE: Gemination 0:j
RULE: Gemination 0:k
Tests:
RULE: Gemination 0:l
Tests:
RULE: Gemination 0:m
RULE: Gemination 0:n
RULE: Gemination 0:p
RULE: Gemination 0:s
Tests:
RULE: h:0
RULE: h:0
RULE: h:0
kasva>hm^A^An kasva>mhaan
saarna>^A>hm^A^An saarna>a>hmaan
tule>hm^A^An tule>mhaan
RULE: Gemination 0:t
Tests:
RULE: Gemination 0:v Tests:
These are assimilation rules for n on suffix borders of LNRS consonant stems. There is also a rule j:0 avoiding a lji sequence.
RULE: Alveolar assimilation for consonant stem l
Tests:
RULE: Alveolar assimilation for consonant stem r
RULE: Alveolar assimilation for consonant stem s in infinitives Tests:
RULE: Alveolar assimilation for consonant stem s in participles
Here come the rules for stem vowel changes in front of suffix -i- (be it plural, present, comparative or conditional). Vowels are deleted or changed according to context. There are also some other vowel change rules.
RULE: a:e before the ^AE trigger
RULE: a:0 before metathesis h
Tests:
RULE: a:o when nonrounded root vowel and before i
Tests:
RULE: ä:0
Tests:
RULE: ä:e
RULE: e:0 deletes -e- in LNR stems as well as before -i-
Tests:
RULE: e:i
Tests:
RULE: i:0
Tests:
RULE: i:j
RULE: i2:j
RULE: i8:0
sano>0
alko>0
Tests:
RULE: i:e
RULE: o:0
Tests:
RULE: ö:0
Tests:
RULE: u:0
Tests:
RULE: y:0
Tests:
These are the rules connected to the Meänkieli -h- suffixes. The vowel must be copied from the stem to the right of the h and also deleted in the stem (cf. talo : talhoon)
RULE: a copying for h metathesis
Tests:
hint00>haan
RULE: o copying for h metathesis
Tests:
RULE: i copying for h metathesis
Tests:
RULE: ä copying for h metathesis
RULE: e copying for h metathesis
RULE: ö copying for h metathesis
RULE: y copying for h metathesis
RULE: u copying for h metathesis
All vowel harmony is taken care of with one rule.
RULE: Back harmony
Tests:
keskus>ta
This (part of) documentation was generated from src/fst/morphology/phonology.twolc