Module talk:ja/documentation
function hira_to_kata(text)
- hiragana (
U+3041
ぁ to U+3096
ゖ) to katakana
function kata_to_hira(text)
- katakana (
U+30A1
ァ to U+30F6
ヶ) to hiragana
function fullwidth_to_halfwidth(text)
- fullwidth (
U+FF01
! to U+FF5E
~ plus U+3000
] [) to halfwidth
function kana_to_romaji(text, no_diacritics, keep_period)
- kana and accompanying formatting to romaji
function rm_spaces_hyphens(f)
- used in inflection tables
function romaji_to_kata(f)
- romaji to katakana
function script(f)
- determine the scripts used in a string
- was used in t:ja new but has been reintroduced by me
function count_morae(text)
- something for
{{ja-readascat}}
function jsort(text)
- format kana into a sortkey
function sort(f)
- weird semi-duplicate of jsort()?
- used by
function new(f)
but does it need to?
function definal(f)
- return
string
minus the last character (used by conjugation/inflection templates like {{ja-go-ru}}
)
function add_ruby_backend(term, kana, from_ja_link)
- core of the ruby ability of
{{ja-r}}
, {{ja-usex}}
, {{furigana}}
(and maybe more?)
function readings(frame)
- core of
{{ja-readings}}
function kanji(frame)
- does fancy stuff for
{{ja-kanji}}
function kanji_grade(kanji)
- determine grade or other classification (jinmeiyō, etc.) of a kanji
function new(frame)
- core of
{{ja-new}}
Return to "ja/documentation" page.