Hello, you have come here looking for the meaning of the word
Module:User:Suzukaze-c/Hani-tab/ko. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Module:User:Suzukaze-c/Hani-tab/ko, but we will also tell you about its etymology, its characteristics and you will know how to say
Module:User:Suzukaze-c/Hani-tab/ko in singular and plural. Everything you need to know about the word
Module:User:Suzukaze-c/Hani-tab/ko you have here. The definition of the word
Module:User:Suzukaze-c/Hani-tab/ko will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Module:User:Suzukaze-c/Hani-tab/ko, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
local export = {}
--[==[
* cf. ].kanji_grade()
* (the implementation of .kanji_grade() seem strange to me...)
(shouldn't $kanji be searched for within $text?)
* XXX: might belong in ]
]==]
function export.hanja_grade(hanja)
local ko_data = require('Module:ko/data')
local grades = { 'junghak', 'gohak' }
for i, grade in ipairs(grades) do
if mw.ustring.match(ko_data, hanja) then
return grade
end
end
return '-' -- XXX: ???
end
function export.main(data)
local tab_row_b = mw.html.create('tr')
:done()
for _, char in ipairs(data.chars) do
tab_row_b
:tag('td')
-- XXX: なんとなくいまいち
:wikitext('<small>' .. export.hanja_grade(char) .. '</small>')
:done()
:done()
end
data.hani_tab
:node(tab_row_b)
:done()
return data.hani_tab
end
return export