Documentation ¶
Overview ¶
The jōyō kanji (常用漢字, regular-use kanji) are 2,136 characters
consisting of all the Kyōiku kanji, plus 1,110 additional kanji taught in junior high and high school.
In publishing, characters outside this category are often given furigana
The list has been taken from https://en.wikipedia.org/wiki/List_of_j%C5%8Dy%C5%8D_kanji
The kyōiku kanji (教育漢字, lit. "education kanji") are the 1,026 first kanji characters that Japanese children learn in elementary school, from first grade to sixth grade
The list has been taken from https://en.wikipedia.org/wiki/Ky%C5%8Diku_kanji
Index ¶
- func BelongsToG1(character rune) bool
- func BelongsToG2(character rune) bool
- func BelongsToG3(character rune) bool
- func BelongsToG4(character rune) bool
- func BelongsToG5(character rune) bool
- func BelongsToG6(character rune) bool
- func BelongsToJoyo(rune rune) bool
- func BelongsToKyoiku(character rune) bool
- func BelongsToKyujitai(rune rune) bool
- func BelongsToNames(character rune) bool
- func BelongsToShinjitai(rune rune) bool
- func G1(text string) int
- func G1Ratio(text string) float64
- func G2(text string) int
- func G2Ratio(text string) float64
- func G3(text string) int
- func G3Ratio(text string) float64
- func G4(text string) int
- func G4Ratio(text string) float64
- func G5(text string) int
- func G5Ratio(text string) float64
- func G6(text string) int
- func G6Ratio(text string) float64
- func Joyo(text string) int
- func JoyoRatio(text string) float64
- func Kyoiku(text string) int
- func KyoikuRatio(text string) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BelongsToG1 ¶
BelongsToG1 returns true if the given rune is part of the grade 1 list of the kyoiku kanjis
func BelongsToG2 ¶
BelongsToG2 returns true if the given rune is part of the grade 2 list of the kyoiku kanjis
func BelongsToG3 ¶
BelongsToG3 returns true if the given rune is part of the grade 3 list of the kyoiku kanjis
func BelongsToG4 ¶
BelongsToG4 returns true if the given rune is part of the grade 4 list of the kyoiku kanjis
func BelongsToG5 ¶
BelongsToG5 returns true if the given rune is part of the grade 4 list of the kyoiku kanjis
func BelongsToG6 ¶
BelongsToG6 returns true if the given rune is part of the grade 4 list of the kyoiku kanjis
func BelongsToJoyo ¶
BelongsToJoyo returns true if the given rune is a jōyō kanji
func BelongsToKyoiku ¶
BelongsToKyoiku returns true if the given rune is part of the kyoiku kanji list
func BelongsToKyujitai ¶
BelongsToKyujitai returns true if the given rune is a Kyūjitai kanji These are the traditional writings of kanji
func BelongsToNames ¶
BelongsToNames returns true if the given rune is part of the name and prefecture list of the kyoiku kanjis
func BelongsToShinjitai ¶
BelongsToShinjitai returns true if the given rune is a Shinjitai kanji These are the new, simplified writings of kanji
func G1Ratio ¶
G1Ratio returns percentage of kyōiku kanji learned in grade 1 inside text result is between 0 and 1
func G2Ratio ¶
G2Ratio returns percentage of kyōiku kanji learned in grade 2 inside text result is between 0 and 1
func G3Ratio ¶
G3Ratio returns percentage of kyōiku kanji learned in grade 3 inside text result is between 0 and 1
func G4Ratio ¶
G4Ratio returns percentage of kyōiku kanji learned in grade 4 inside text result is between 0 and 1
func G5Ratio ¶
G5Ratio returns percentage of kyōiku kanji learned in grade 5 inside text result is between 0 and 1
func G6Ratio ¶
G6Ratio returns percentage of kyōiku kanji learned in grade 6 inside text result is between 0 and 1
func KyoikuRatio ¶
KyoikuRatio returns percentage of kyoiku characters inside of text result is between 0 and 1
Types ¶
This section is empty.