48,355
edits
No edit summary |
No edit summary |
||
| Line 238: | Line 238: | ||
end | end | ||
function export.crux(term, no_stress) | function export.crux(term, no_stress, outputs) | ||
local ret, dialects = {}, {} | local ret, dialects = {}, {} | ||
term = mw.ustring.lower(term) | term = mw.ustring.lower(term) | ||
| Line 285: | Line 285: | ||
end | end | ||
if outputs then | |||
-- testcases | -- testcases | ||
if outputs == "phonemic" then | if outputs == "phonemic" then | ||
| Line 294: | Line 294: | ||
return "/" .. phonemic .. "/ [" .. phonetic .. "]" | return "/" .. phonemic .. "/ [" .. phonetic .. "]" | ||
end | end | ||
end | end | ||
dialects["paulistan"] = paulistan | dialects["paulistan"] = paulistan | ||