45,646
edits
No edit summary |
No edit summary |
||
Line 77: | Line 77: | ||
phonemic = syllabicize(phonemic) | phonemic = syllabicize(phonemic) | ||
for _, rule in ipairs(phonetic_rules) do | --[[for _, rule in ipairs(phonetic_rules) do | ||
phonetic = gsub(phonemic, rule[1], rule[2]) | phonetic = gsub(phonemic, rule[1], rule[2]) | ||
end | end]] | ||
for _, rule in ipairs(last_rules) do | |||
phonemic = gsub(phonemic, rule[1], rule[2]) | phonemic = gsub(phonemic, rule[1], rule[2]) | ||
phonetic = gsub(phonetic, rule[1], rule[2]) | phonetic = gsub(phonetic, rule[1], rule[2]) | ||
end | end | ||
return phonemic, phonetic | return phonemic, phonetic |