Module:qlu-pron: Difference between revisions

No edit summary
No edit summary
Line 244: Line 244:
end
end


if outputs == "phonemic" then
--[[if outputs == "phonemic" then
return phonemic
return phonemic
elseif not outputs or outputs == "phonetic" then
elseif not outputs or outputs == "phonetic" then
Line 250: Line 250:
elseif outputs == "test" then
elseif outputs == "test" then
return "/" .. phonemic .. "/ [" .. phonetic .. "]"
return "/" .. phonemic .. "/ [" .. phonetic .. "]"
end
end]]
ret.phonemic = phonemic
ret.phonemic = phonemic
Line 258: Line 258:
ret.dialectal.paulistan = paulistan
ret.dialectal.paulistan = paulistan
return upper --ret
return ret
end
end


Line 281: Line 281:
local IPA_args = {}
local IPA_args = {}
local pron = export.crux(term)
local pron = export.crux(term)
local phonetic = pron --.dialectal.upper --separate_word(term)
local phonetic = pron.dialectal.upper --separate_word(term)
table.insert(IPA_args, {pron = '[' .. phonetic .. ']'})
table.insert(IPA_args, {pron = '[' .. phonetic .. ']'})