Yonh
A simple lookup table for Guangyun.
Installation
yarn add yonh
or
npm install --save yonh
Usage
var yonh =// lookup through chinese character or indexyonhyonh// list of fundamental category of rime in Guangyunyonh
yonh.lookup(index|hanzi)
Arguments
index
:number
, an unique number indicating specific Sinographhanzi
:string
, a Sinograph, Chinese character
Returns
One object or an array of objects with following form:
zih
: a Sinogram, Chinese charactersieux
: a fundamental category of rime (小韻) in Guangyunchet
: fanqie (反切), a technique to represent the pronounciation of a Chinese character by using two characters instead, in Guangyuninitial
: the initial ofzih
, see Table.Initialfinal
: the final ofzih
, see Table.Finaltone
:平聲
,上聲
,去聲
or入聲
, the category of the tone in Middle Chineseroman
: a romanisation ofzih
, see Romanisationkanon
: the pronounciation ofzih
in Kan-on system (漢音) in Japanesekuangx
: the content ofzih
appeared in Guangyun
Table.Initial
roman
: a romanisation of initial, see Romanisationsjeng
: a Sinogram indicating the category of initial (聲母)
Table.Final
roman
: a romanisation of final, see Romanisationyonh
: category of final (韻母), which is differnent from the rimes (韻) in Guangyuntongx
:1
to4
, indicating the level (等) of Chinese character, which is one of Medial (介音) description system in Middle Chineseho
:開口
,合口
or開合
, another Medial description system in Middle Chinese (呼)sjep
: a Sinogram indicating the category of the main vowel (攝)
yonh.sieux()
A list of fundamental category of rime (小韻).
Returns
index
: an unique numbersieux
,chet
,initial
,final
,tone
,roman
,kanon
,kuangx
: see yonh.lookup(index|hanzi)list_zih
: a list of Sinograph with index and character
Romanisation
The romanisation for Middle Chinese is created and promoted by Polyhedron.
License
GPLv2
Sources
- Full Word List for Guangyun (廣韻全字表), powered by polyhedron and zgheng.
- XML Data for Guangyun (宋本廣韻データ)
- 韻典網