45,647
edits
No edit summary |
No edit summary |
||
Line 81: | Line 81: | ||
end | end | ||
function separate_word(term) | function separate_word(term, b) | ||
local result = {} | local result = {} | ||
for word in gsplit(term, " ") do | for word in gsplit(term, " ") do | ||
table.insert(result, export.crux(word)) | if b then table.insert(result, export.crux(word)) | ||
else table.insert(result, export.antique_crux(word)) end | |||
end | end | ||
Line 99: | Line 100: | ||
local ipa = "* " | local ipa = "* " | ||
ipa = ipa .. line_format(separate_word(term), {'Modern'}) | ipa = ipa .. line_format(separate_word(term, false), {'Modern'}) | ||
if export.crux(term) ~= export.antique_crux(term) then | if export.crux(term) ~= export.antique_crux(term) then | ||
ipa = ipa .. "\n" .. line_format(separate_word(term), {'Antique'}) | ipa = ipa .. "\n* " .. line_format(separate_word(term, true), {'Antique'}) | ||
end | end | ||