Module:pine-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 49: Line 49:


-- exportable to be used by [[Module:pine-noun]]
-- exportable to be used by [[Module:pine-noun]]
function export.syllabify_from_spelling(term)
function export.syllabify_from_spelling(term, is_ipa)
local vowels = "[" .. vowels_spelling .. "]"
local vowels = "[" .. vowels_spelling .. "]"
local consonants = consonants_spelling --lazy_consonants
local consonants = consonants_spelling --lazy_consonants
Line 76: Line 76:


function export.crux(term)
function export.crux(term)
term = export.syllabify_from_spelling(term)
term = export.syllabify_from_spelling(term, true)
-- default to short lax vowels
-- default to short lax vowels