Pergi ke kandungan

Modul:Kana-sortkey

Daripada Wikikamus
local hira_to_kata = require("Module:ja").hira_to_kata

local export = {}

function export.makeSortKey(text, lang, sc)
	-- Normalize to katakana.
	text = hira_to_kata(text)
	return require("Module:Hrkt-sortkey").makeSortKey(text, lang, sc)
end

return export