Module:ábḫ-ipa/remake: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 58: | Line 58: | ||
word = gsub(word, "(" .. consonants .. vowels .. ")", "·%1") | word = gsub(word, "(" .. consonants .. vowels .. ")", "·%1") | ||
word = gsub(word, "^·", "") | word = gsub(word, "^·", "") | ||
syllables = split(word, "·") | |||
syllables[1] = find("^[mnjɲβDGPpTtKkBθðɕʑxɦɺ]?" .. vowels .. "ː?" .. tones) and table.insert(syllables, 1, "ˈ") or syllables[1] | |||
return | return table.concat(syllables) | ||
end | end | ||