Module:accel/ja

return {generate = function (params, entry) local translit_param = params.transliteration and '|' .. params.transliteration:gsub('%-', ' ') or '' if params.form == 'romanized' then entry.pos_header = 'Romanization' entry.head = '' entry.def = '' elseif params.form == 'kana-noun' then entry.pos_header = 'Noun' entry.head = '' entry.def = ' ' elseif params.form == 'kana-proper-noun' then entry.pos_header = 'Proper noun' entry.head = '' entry.def = ' ' elseif params.form == 'kana-verb' then entry.pos_header = 'Verb' entry.head = '' entry.def = ' ' elseif params.form == 'kana-adjective' then entry.pos_header = 'Adjective' entry.head = '' entry.def = ' ' elseif params.form == 'kana-adverb' then entry.pos_header = 'Adverb' entry.head = '' entry.def = ' ' else return entry.no_rule_error(params) end end}