Module:qlu-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 288: | Line 288: | ||
local phonemic, phonetic = {}, {} | local phonemic, phonetic = {}, {} | ||
if match(word, " ") then | |||
for word in gsplit(term, " ") do | |||
--m, t, d = export.crux(word) | |||
m = export.crux(word)[1] | |||
t = export.crux(word)[2] | |||
if #phonemic == 0 or #phonetic == 0 then | |||
--phonemic, phonetic, dialects = {m}, {t}, d | |||
phonemic = {m} | |||
phonetic = {t} | |||
else | |||
table.insert(phonemic, m) | |||
table.insert(phonetic, t) | |||
--d = merge_tables(dialects, d) | |||
end | |||
end | |||
else | |||
return export.crux(word) | |||
end | end | ||