Finite state and Constraint Grammar based analysers, proofing tools and other resources
This file documents the phonology.twolc file
The file contains the rule set for the non-segmental Lule Sámi morphphonological rules
The file is modeled upon the corresponding file for North Sámi, but has been revised and differs from it on several issues. The grammatical sources are Spiik 1989: Lulesamisk grammatik and Nystø and Johnsen 2001: Sámásta 2.
The rule file has the sections Alphabet, Sets, Definition and Rules. The rules are ordered thematically, with 3 main sections: Consonant alternations (except CG), vowel alternations, and consonant gradation.
All Lule Saami letters are listed. The Lule Sámi ENG sound is represented as ñ. Lule Sámi letter repertoire is not fully standardised. In the source code we write (and you shall write!) æ; ø; ŋ, but the parser tolerates input written with the the letters ä; ö; ń, ñ (cf. the 4 rules in the file smj/src/orthography/spellrelax.regex).
small letters = a á b c d e f g h i j k l m n ñ ń ŋ o p q r s t u v w x y z æ:æä ä:æä ø ö å %- é ó ú í à è ò ù ì ë ü ï â ê ô û î ã ý ç č đ ð š ŧ þ ß ª
capital letters = A Á B C D E F G H I J K L M N Ñ Ń Ŋ O P Q R S T U V W X Y Z Æ:ÆÄ Ä:ÆÄ Ø Ö Å É Ó Ú Í À È Ò Ù Ì Ë Ü Ï Â Ê Ô Û Î Ã Ý Ç Č Đ Ð Š Ŧ þ
The 3rd degree mark º is never realized, hence declared as º:0. º:0 = Gradation mark %/ = Literal /, not the TWOLC reserved symbol ‘:’ = Apostrophe
Literal quotes and angles must be escaped (cf morpheme boundaries further down):
h2, g2 etc. are consonants deleted in the Nom. m3, d3 etc. (?) are consonants that undergo certain processes word-finally. This issue should be looked into. Perhaps the two sets can be unified. The reason why there are more distinctions than for sme, is that the cns deletion process is more phonological in sme.
’:’ = Morphophonemes in sme, here temporarily due to common propernoun file
The Dummy symbols are taken from the sme file for convenience, only a small part of them are actually used, they are defined in the Sets section along the way, included there as soon as they are used. The set of actually used Dummy symbols is thus the set declared in “Dummy”. The Dummy symbols trigger morphophonological rules. X is used for nouns and adjectives, Y for verbs and Q for processes common to all The symbols themselves are used in the following way:
OBS: the definitions are not all correct or sufficiently specific
**Z4:0 : weak grade trigger fºf:f and e:á, e:å, o:á, o:u in front of diminutives, e**: å in -lasj der
These are the sets:
WeG: the dummy symbols that trigger weak grade
Vow = a á e i o u y æ ä ø ö å æä
A Á E I O U Y Æ Ä Ø Ä Å ÆÄ
é ó ú í à è ò ù ì ë ü ï â ê ô û î ã ý
É Ó Ú Í À È Ò Ù Ì Ë Ü Ï Â Ê Ô Û Î Ã Ý
a9 e9 o9 æ9 ä9
a9 e9 o9 æ9 ä9
É Ó Ú Í À È Ò Ù Ì Ë Ü Ï Â Ê Ô Û Î Ã Ý ;
CapCns = B C D F G H J K L M N Ñ Ń Ŋ P Q
R S T V W X Z Ç Č Đ Ð Š Ŧ þ ;
In this section, the consonants are defined. This includes consonant clusters in the various grades and consonant alternations.
The alternation patterns according to Spiik’s alternations series, here named S4, S5, … for “Spiik alternation series 4, 5, etc.” as they are presented in his grammar..
Class | Alternation | Series |
S7 | kkn:k0n | series 1 |
S8 | fºf:f0f | series 2 |
S9 | jgg:j0g | series 3 |
S4 | hkk:h0k | series 4 |
S5 | xy:zy (no zeros) | series 5 |
S6 | xx:yy (no zeros) | series 6 |
S7 | xy:zy (no zeros) | series 7 |
S8 | —– (no cg) | series 8 |
Definition of gradation symbols:
LowerG12: A definition of Grade 1 or 2 consonant sequences
G32: A definition of Grade 3 or 2 consonant sequences
G31: A definition of Grade 3 or 1 consonant sequences which is not SMJ-grammar only for err/orths
The rules section has the following chapters: Consonant alternations in certain pos, vowel lengthening, diphthong simplification, stem vowel alternations, consonant gradation rules
All rules deal with word-final position.
**Word Final Devoicing of Certain Single Consonants d9 etc. **
**Word Final Devoicing of Certain Single Consonants m9-v ** ! Spilt up because of err/orths ending on v, gierkav> we want err/orth gierkkam
gier0kav>0
gierkkam>a
gierkkam>ij
**Err/Orths. **
Word final weakening -tj and -ttj to -sj part 1
Word final weakening -tj and -ttj to -sj part 2
jågåsj
Word Final Deletion of n8 m8 g8 h8
Word Final Neutralization of g8, h8, m8
Deleting Final h9 in Short Essive of Uneven Syllables
Deleting Final l9 in Short Essive of Uneven Syllables
Deleting Final m9 in Short Essive of Uneven Syllables
Deleting Final n9 in Short Essive of Uneven Syllables
Deleting Final r9 in Short Essive of Uneven Syllables
The second syllable vowel a is lengthened to á whenever the stem consonants are in grade 1 and the first syllable vowel is short. Short vowels cannot preceed and follow a single intervocalic consonant.
Compulsatory lengthening in grade I even-syllables
The diphthong simplification handles oa:å and æ:e. Phonologically, these are identical processes, but since the dipthong is written by two letters in the former case and by one letter in the latter, the alternations must be handled separately. This section also handles ie:æ, these are in principle the same as oa:å, but the alternation does not occur in so many contexts.
**oa:å Diphtong Simplification Part I **
oa:å Diphtong Simplification Part II
toahkki00jn
★t0åhkki00jn (is not standard language)
b0ållu0j
★r0åvggu0j (is not standard language)
t0ås0su00jn
★toas0su00jn (is not standard language)
★m0ås0su0jn (is not standard language)
moas0su0jn
goar0ru00jn
goarru00jn
★g0år0ru00jn (is not standard language)
★g0år0ru0 (is not standard language)
g0årru0
doaddje0
★d0åddje0 (is not standard language)
g0år0ru0dit
★goar0ru0dit (is not standard language)
toabbmu00j
t0åbmu0j
★t0åbbmu00j (is not standard language)
★toa0mu0dallat (is not standard language)
oaddu00j
b0å0sjku00jn
★boas0jku00jn (is not standard language)
b0åj0stu00jn
★boaj0stu00jn (is not standard language)
b0åkku00jn
★boakku00jn (is not standard language)
examples:*
examples:*
examples:*
examples:*
examples:*
examples:*
examples:*
examples:*
examples:*
**æ:e Diphthong Simplification **
hæärránis
hæärránis#gæähttjalibme>
pasien0ta>0
paten0ta>0
kvotien0ta>0
klien0ta>0
Lev0nja>0
a^dræässa#sáhtso>
★a^dressa#sáhtso> (is not standard language)
**ie:æä Diphthong Simplification Part I **
0æälvv00ut
0æähtts00up
ie:æä Diphthong Simplification Part II The multichar æä is always the only option
jæähttse>0
jæähttse>0
g0æä0rá»0dalla>t
Vowel-change oa:å for verbs part I
Vowel-change oa:å for verbs part II
hoallá0
goaddne0
★hållá0 (is not standard language)
This section is divided according to stem vowels: a-, e-, o-, å-stems.
For a-stems, there is a:e and a:i. Each alternation is triggered by a combination of phonological content and dummy symbols.
a:e in Present Participle of even-syllable verbs
a:i in Prs Prc of even-syllable verbs
a-stem vowel deletion
For e-stems, there is e:i, e:á, e:å, e:u and e:a. Each alternation is triggered by a combination of phonological content and dummy symbols.
e:i in e-stems
manassi0j
bie0si0j
boahtti0j
gá0li0sj
gá0li0tjav
gá0li0tjin
gá0li0tjihpit
gá0li0tjibá
gá0li0tjip
gá0li0tja
gie0ri>0tja
The following two rules constitute a <= / => rule pair.
e:á in certain stem types 1
e:á in certain stem types 2
bárnná0m
★bárnne0m (is not standard language)
bálggá0v
gállá0m#
gá0lá0v#
bá0gu0sj#
goa0dá0sj#
e:å in certain stem types with å as root vowel
jå0då0v
jåhtå0
jåhtå0m
e-stem vowel deletion
For i-stems, there is i:á. The alternation is triggered by a combination of phonological content and dummy symbols.
i:á in Verb Derivation
The duplicates of the three lines of the two following rules are there to resolve the => conflict between the two rules.
o:u in certain stem types 1
o:u in certain stem types 2
u:o in contracted nouns
o-stem vowel deletion
å:e in Present Participle of even-syllable verbs
å:i in Actor nouns of even-syllable verbs
å-stem vowel deletion
Stem vowel deletion in even-syllable verbs, imp 3sg, 3du, 2pl, 3pl
0æälvv00up
giess00up
The consonant gradation rules differ considerably from the corresponding rules for North Sámi. Instead of generalizing oversets of consonants (Cx:Cy <=> …), each rule contains the alternation for one consonant only, and to the right of the <=> arrow is listed all the contexts where the relevant alternation appears. The disadvantage with this method is that the same context must be written several times, if e.g. both p, t and k are deleted in the same contexts, each of these contexts must be written several times, one for each consonant. The advantage is that there are no conflicts during compilation, compilation takes 10 seconds rather than 3 minutes. The earlier North-Sámi-style rule set was ordered according to CG pattern. This pattern is still visible in the new rules, via the reference S1-3 etc. (Spiik’s Series 1, 3-letter pattern, etc) behind each subrule.
This actually opens up for a migration to an xfst rule file instead of the current twolc format, since what xfst really cannot do is generalize over sets (Cx:Cy etc.). This is an issue for future revisions to decide.
The rules are divided in two subsections, deletion rules and change (alternation) rules.
The b, d, g deletion rules are similar, via the optional ( b ) etc. in front of the “_” symbol, both bm:m and bbm:bm alternations are covered. The contexts differ to a certain extent. For b and d, the III-I special gradation bbm:m is covered by two separate rules, and a special Dummy (X6), not part of the ordinary WeG set.
Note that one of the rules for t:0 refers to #: as part of its context. As soon as clitics are added to the word form, this rule will thus not be triggered. Look into this when the clitics are added.
Consonant gradation b:0 deletes b in S7 and S9 contexts
Consonant gradation d:0 … etc.
Consonant gradation g:0
Consonant gradation k:0
Consonant gradation l:0
Consonant gradation m:0
Consonant gradation n:0
Consonant gradation p:0
Consonant gradation s:0
ru0sjpe0
Consonant gradation ŋ:0
Consonant gradation f:0
Consonant gradation r:0
Consonant gradation v:0
Consonant gradation j:0
Consonant gradation t:0
Gradation Series 4, II-I, tj and ts
The Cx:Cy format was kept for hk:g, hp:b, ht:d, since the left context h:0 was unique, and no compilation conflict thus arose.
The bb:pp, gg:kk, dd:tt alternations were split into three rules, since keeping them in one Cx:Cy rule created compilation conflicts. Also, d:t contain a rule not found for the other two…
Gradation Series 4, II-I
bb:pp
gg:kk
vákke0
g:k change for clitic -ge
dd:tt and dtj, dts
Gradation Series 7, III-II, ks(t), kt, ktj, kts
Exceptional II-III inverse gradation in present participles
This gradation is only for II-I syllable verbs that get III as present participles.
Candidates:
ddj - dj - dj
hpp - hp - b
Strategy: Do insertion rule for the initial element.
Consonant insertion as II-III strengthening gradation with bm, gŋ
Consonant insertion as II-III strengthening gradation with dn/j + as I-III strengthening gradation with d
Consonant insertion as II-III strengthening gradation with hk, hp,
Consonant insertion as II-III strengthening gradation with htt(j/s)
Debugging of twol-rules
All rule conflicts have been successfully resolved. The rule file should be kept that way. Look out for conflicts in the compilation process, and resolve them as they appear!
This (part of) documentation was generated from src/fst/morphology/phonology.twolc