48,355
edits
No edit summary |
No edit summary |
||
| Line 74: | Line 74: | ||
term = term:gsub("(.)%1į", "%1įː") -- e.g. nnį > nį: | term = term:gsub("(.)%1į", "%1įː") -- e.g. nnį > nį: | ||
term = term:gsub("..", digraphs) | term = term:gsub("..", digraphs) | ||
term = term:gsub("(" .. consonants .. "ː?)(" .. consonants .. "+)", "%1·%2") | |||
return term | |||
--[[ | |||
-- Split between spaces if term is multiword | -- Split between spaces if term is multiword | ||
local words = split(term, "%s") | local words = split(term, "%s") | ||
| Line 82: | Line 85: | ||
end | end | ||
return | return table.concat(words, " ")]] | ||
end | end | ||