|
|
| Line 71: |
Line 71: |
| end | | end |
| data.colloquial = mut.colloquial | | data.colloquial = mut.colloquial |
| end
| |
|
| |
| if initial == "tsi" then
| |
| -- "i" in "tsi" is retained if:
| |
| -- followed by a consonant (e.g. "tsips" → "jips")
| |
| -- followed by a semivowel (e.g. "tsiwawa" → "jiwawa", but "*tsiŵawa" → "*jŵawa"); "i" and "w" are semivowels if followed by any vowel, due to the preceding "i".
| |
| -- it has a diacritic (e.g. "tsïars" → "jïars")
| |
| if not (final:match("^[aeiouwy]") and not final:match("^[iw][aeiouwy]")) then
| |
| final = "i" .. final
| |
| -- If "i" in "tsi" is not retained, the following vowel cannot have a diaeresis unless it's followed by a vowel.
| |
| elseif not umatch(final, "^[aeiouwy]" .. DIAER .. "[" .. GRAVE .. ACUTE .. CIRC .. "]?[aeiouwy]") then
| |
| final = final:gsub("^([aeiouwy])" .. DIAER, "%1") -- If there's no diaeresis, this does nothing.
| |
| end
| |
| end | | end |
| | | |