Module:siwa-pron: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
function export.result(frame)
function export.result(frame)
result = m_IPA.format_IPA_full(lang, { { pron = '[' .. transcription .. ']' } })
result = m_IPA.format_IPA_full(m_lang, { { pron = '[' .. transcription .. ']' } })
return result
return result
end
end


return export
return export

Revision as of 20:24, 18 December 2020



local export = {}
	
	local m_IPA = require("Module:IPA")
	local m_lang = require("Module:languages").getByCode("en")
	local transcription = "ˈsivi"
	
	function export.result(frame)
		result = m_IPA.format_IPA_full(m_lang, { { pron = '[' .. transcription .. ']' } })
		return result
	end

return export