182
edits
No edit summary |
No edit summary |
||
Line 116: | Line 116: | ||
index = 1 | index = 1 | ||
for i,val in ipairs(result) do | for i,val in ipairs(result) do | ||
stress = newStresses[index] | stress = newStresses[index-1] | ||
-- look through word and replace the correct .'s with ˌ's | -- look through word and replace the correct .'s with ˌ's | ||
if (i == 1) and val == "." and newStresses[1] == "." then | if (i == 1) and val == "." and newStresses[1] == "." then | ||
Line 191: | Line 191: | ||
word = string.gsub(word, "I", "ɔɪ̯") | word = string.gsub(word, "I", "ɔɪ̯") | ||
word = string.gsub(word, "Í", "ɔ́ɪ̯") | word = string.gsub(word, "Í", "ɔ́ɪ̯") | ||
word = string.gsub(word, "j", " | word = string.gsub(word, "j", "ȵ") | ||
word = string.gsub(word, "J", "ʑ") | word = string.gsub(word, "J", "ʑ") | ||
word = string.gsub(word, "K", "ŋk") | word = string.gsub(word, "K", "ŋk") |
edits