|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
This is the DTD of the XML-format kanji file combining information from
|
|
Packit Service |
a31ea6 |
the KANJIDIC and KANJD212 files. It is intended to be largely self-
|
|
Packit Service |
a31ea6 |
documenting, with each field being accompanied by an explanatory
|
|
Packit Service |
a31ea6 |
comment.
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The file covers the following kanji:
|
|
Packit Service |
a31ea6 |
(a) the 6,355 kanji from JIS X 0208;
|
|
Packit Service |
a31ea6 |
(b) the 5,801 kanji from JIS X 0212;
|
|
Packit Service |
a31ea6 |
(c) the 3,625 kanji from JIS X 0213 as follows:
|
|
Packit Service |
a31ea6 |
(i) the 2,741 kanji which are also in JIS X 0212 have
|
|
Packit Service |
a31ea6 |
JIS X 0213 code-points (kuten) added to the existing entry;
|
|
Packit Service |
a31ea6 |
(ii) the 884 "new" kanji have new entries.
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
At the end of the explanation for a number of fields there is a tag
|
|
Packit Service |
a31ea6 |
with the format [N]. This indicates the leading letter(s) of the
|
|
Packit Service |
a31ea6 |
equivalent field in the KANJIDIC and KANJD212 files.
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The KANJIDIC documentation should also be read for additional
|
|
Packit Service |
a31ea6 |
information about the information in the file.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The single header element will contain identification information
|
|
Packit Service |
a31ea6 |
about the version of the file
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
This field denotes the version of kanjidic2 structure, as more
|
|
Packit Service |
a31ea6 |
than one version may exist.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The version of the file, in the format YYYY-NN, where NN will be
|
|
Packit Service |
a31ea6 |
a number starting with 01 for the first version released in a
|
|
Packit Service |
a31ea6 |
calendar year, then increasing for each version in that year.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The date the file was created in international format (YYYY-MM-DD).
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The character itself in UTF8 coding.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The codepoint element states the code of the character in the various
|
|
Packit Service |
a31ea6 |
character set standards.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The cp_value contains the codepoint of the character in a particular
|
|
Packit Service |
a31ea6 |
standard. The standard will be identified in the cp_type attribute.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The cp_type attribute states the coding standard applying to the
|
|
Packit Service |
a31ea6 |
element. The values assigned so far are:
|
|
Packit Service |
a31ea6 |
jis208 - JIS X 0208-1997 - kuten coding (nn-nn)
|
|
Packit Service |
a31ea6 |
jis212 - JIS X 0212-1990 - kuten coding (nn-nn)
|
|
Packit Service |
a31ea6 |
jis213 - JIS X 0213-2000 - kuten coding (p-nn-nn)
|
|
Packit Service |
a31ea6 |
ucs - Unicode 4.0 - hex coding (4 or 5 hexadecimal digits)
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The radical number, in the range 1 to 214. The particular
|
|
Packit Service |
a31ea6 |
classification type is stated in the rad_type attribute.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The rad_type attribute states the type of radical classification.
|
|
Packit Service |
a31ea6 |
classical - as recorded in the KangXi Zidian.
|
|
Packit Service |
a31ea6 |
nelson - as used in the Nelson "Modern Japanese-English
|
|
Packit Service |
a31ea6 |
Character Dictionary" (i.e. the Classic, not the New Nelson).
|
|
Packit Service |
a31ea6 |
This will only be used where Nelson reclassified the kanji.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The Jouyou Kanji grade level. 1 through 6 indicate the grade in which
|
|
Packit Service |
a31ea6 |
the kanji is taught in Japanese schools. 8 indicates it is one of the
|
|
Packit Service |
a31ea6 |
remaining Jouyou Kanji to be learned in junior high school, and 9
|
|
Packit Service |
a31ea6 |
indicates it is a Jinmeiyou (for use in names) kanji. [G]
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The stroke count of the kanji, including the radical. If more than
|
|
Packit Service |
a31ea6 |
one, the first is considered the accepted count, while subsequent ones
|
|
Packit Service |
a31ea6 |
are common miscounts. (See Appendix E. of the KANJIDIC documentation
|
|
Packit Service |
a31ea6 |
for some of the rules applied when counting strokes in some of the
|
|
Packit Service |
a31ea6 |
radicals.) [S]
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
A cross-reference code to another kanji, usually regarded as a variant.
|
|
Packit Service |
a31ea6 |
The type of cross-reference is given in the var_type attribute.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The var_type attribute indicates the type of variant code. The current
|
|
Packit Service |
a31ea6 |
values are:
|
|
Packit Service |
a31ea6 |
jis208 - in JIS X 0208 - kuten coding
|
|
Packit Service |
a31ea6 |
jis212 - in JIS X 0212 - kuten coding
|
|
Packit Service |
a31ea6 |
jis213 - in JIS X 0213 - kuten coding
|
|
Packit Service |
a31ea6 |
deroo - De Roo number - numeric
|
|
Packit Service |
a31ea6 |
njecd - Halpern NJECD index number - numeric
|
|
Packit Service |
a31ea6 |
s_h - The Kanji Dictionary (Spahn & Hadamitzky) - descriptor
|
|
Packit Service |
a31ea6 |
nelson - "Classic" Nelson - numeric
|
|
Packit Service |
a31ea6 |
oneill - Japanese Names (O'Neill) - numeric
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
A frequency-of-use ranking. The 2,500 most-used characters have a
|
|
Packit Service |
a31ea6 |
ranking; those characters that lack this field are not ranked. The
|
|
Packit Service |
a31ea6 |
frequency is a number from 1 to 2,500 that expresses the relative
|
|
Packit Service |
a31ea6 |
frequency of occurrence of a character in modern Japanese. This is
|
|
Packit Service |
a31ea6 |
based on a survey in newspapers, so it is biassed towards kanji
|
|
Packit Service |
a31ea6 |
used in newspaper articles. The discrimination between the less
|
|
Packit Service |
a31ea6 |
frequently used kanji is not strong.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
When the kanji is itself a radical and has a name, this element
|
|
Packit Service |
a31ea6 |
contains the name (in hiragana.) [T2]
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
This element contains the index numbers and similar unstructured
|
|
Packit Service |
a31ea6 |
information such as page numbers in a number of published dictionaries,
|
|
Packit Service |
a31ea6 |
and instructional books on kanji.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
Each dic_ref contains an index number. The particular dictionary,
|
|
Packit Service |
a31ea6 |
etc. is defined by the dr_type attribute.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The dr_type defines the dictionary or reference book, etc. to which
|
|
Packit Service |
a31ea6 |
dic_ref element applies. The initial allocation is:
|
|
Packit Service |
a31ea6 |
nelson_c - "Modern Reader's Japanese-English Character Dictionary",
|
|
Packit Service |
a31ea6 |
edited by Andrew Nelson (now published as the "Classic"
|
|
Packit Service |
a31ea6 |
Nelson).
|
|
Packit Service |
a31ea6 |
nelson_n - "The New Nelson Japanese-English Character Dictionary",
|
|
Packit Service |
a31ea6 |
edited by John Haig.
|
|
Packit Service |
a31ea6 |
halpern_njecd - "New Japanese-English Character Dictionary",
|
|
Packit Service |
a31ea6 |
edited by Jack Halpern.
|
|
Packit Service |
a31ea6 |
halpern_kkld - "Kanji Learners Dictionary" (Kodansha) edited by
|
|
Packit Service |
a31ea6 |
Jack Halpern.
|
|
Packit Service |
a31ea6 |
heisig - "Remembering The Kanji" by James Heisig.
|
|
Packit Service |
a31ea6 |
gakken - "A New Dictionary of Kanji Usage" (Gakken)
|
|
Packit Service |
a31ea6 |
oneill_names - "Japanese Names", by P.G. O'Neill.
|
|
Packit Service |
a31ea6 |
oneill_kk - "Essential Kanji" by P.G. O'Neill.
|
|
Packit Service |
a31ea6 |
moro - "Daikanwajiten" compiled by Morohashi. For some kanji two
|
|
Packit Service |
a31ea6 |
additional attributes are used: m_vol: the volume of the
|
|
Packit Service |
a31ea6 |
dictionary in which the kanji is found, and m_page: the page
|
|
Packit Service |
a31ea6 |
number in the volume.
|
|
Packit Service |
a31ea6 |
henshall - "A Guide To Remembering Japanese Characters" by
|
|
Packit Service |
a31ea6 |
Kenneth G. Henshall.
|
|
Packit Service |
a31ea6 |
sh_kk - "Kanji and Kana" by Spahn and Hadamitzky.
|
|
Packit Service |
a31ea6 |
sakade - "A Guide To Reading and Writing Japanese" edited by
|
|
Packit Service |
a31ea6 |
Florence Sakade.
|
|
Packit Service |
a31ea6 |
henshall3 - "A Guide To Reading and Writing Japanese" 3rd
|
|
Packit Service |
a31ea6 |
edition, edited by Henshall, Seeley and De Groot.
|
|
Packit Service |
a31ea6 |
tutt_cards - Tuttle Kanji Cards, compiled by Alexander Kask.
|
|
Packit Service |
a31ea6 |
crowley - "The Kanji Way to Japanese Language Power" by
|
|
Packit Service |
a31ea6 |
Dale Crowley.
|
|
Packit Service |
a31ea6 |
kanji_in_context - "Kanji in Context" by Nishiguchi and Kono.
|
|
Packit Service |
a31ea6 |
busy_people - "Japanese For Busy People" vols I-III, published
|
|
Packit Service |
a31ea6 |
by the AJLT. The codes are the volume.chapter.
|
|
Packit Service |
a31ea6 |
kodansha_compact - the "Kodansha Compact Kanji Guide".
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
See above under "moro".
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
See above under "moro".
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
These codes contain information relating to the glyph, and can be used
|
|
Packit Service |
a31ea6 |
for finding a required kanji. The type of code is defined by the
|
|
Packit Service |
a31ea6 |
qc_type attribute.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The q_code contains the actual query-code value, according to the
|
|
Packit Service |
a31ea6 |
qc_type attribute.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The q_code attribute defines the type of query code. The current values
|
|
Packit Service |
a31ea6 |
are:
|
|
Packit Service |
a31ea6 |
skip - Halpern's SKIP (System of Kanji Indexing by Patterns)
|
|
Packit Service |
a31ea6 |
code. The format is n-nn-nn. See the KANJIDIC documentation
|
|
Packit Service |
a31ea6 |
for a description of the code and restrictions on the
|
|
Packit Service |
a31ea6 |
commercial use of this data. [P]
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
sh_desc - the descriptor codes for The Kanji Dictionary (Tuttle
|
|
Packit Service |
a31ea6 |
1996) by Spahn and Hadamitzky. They are in the form nxnn.n,
|
|
Packit Service |
a31ea6 |
e.g. 3k11.2, where the kanji has 3 strokes in the
|
|
Packit Service |
a31ea6 |
identifying radical, it is radical "k" in the SH
|
|
Packit Service |
a31ea6 |
classification system, there are 11 other strokes, and it is
|
|
Packit Service |
a31ea6 |
the 2nd kanji in the 3k11 sequence. (I am very grateful to
|
|
Packit Service |
a31ea6 |
Mark Spahn for providing the list of these descriptor codes
|
|
Packit Service |
a31ea6 |
for the kanji in this file.) [I]
|
|
Packit Service |
a31ea6 |
four_corner - the "Four Corner" code for the kanji. This is a code
|
|
Packit Service |
a31ea6 |
invented by Wang Chen in 1928. See the KANJIDIC documentation
|
|
Packit Service |
a31ea6 |
for an overview of the Four Corner System. [Q]
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
deroo - the codes developed by the late Father Joseph De Roo, and
|
|
Packit Service |
a31ea6 |
published in his book "2001 Kanji" (Bojinsha). Fr De Roo
|
|
Packit Service |
a31ea6 |
gave his permission for these codes to be included. [DR]
|
|
Packit Service |
a31ea6 |
misclass - a possible misclassification of the kanji according
|
|
Packit Service |
a31ea6 |
to one of the code types. (See the "Z" codes in the KANJIDIC
|
|
Packit Service |
a31ea6 |
documentation for more details.)
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The readings for the kanji in several languages, and the meanings, also
|
|
Packit Service |
a31ea6 |
in several languages. The readings and meanings are grouped to enable
|
|
Packit Service |
a31ea6 |
the handling of the situation where the meaning is differentiated by
|
|
Packit Service |
a31ea6 |
reading. [T1]
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
Japanese readings that are now only associated with names.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The reading element contains the reading or pronunciation
|
|
Packit Service |
a31ea6 |
of the kanji.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The r_type attribute defines the type of reading in the reading
|
|
Packit Service |
a31ea6 |
element. The current values are:
|
|
Packit Service |
a31ea6 |
pinyin - the modern PinYin romanization of the Chinese reading
|
|
Packit Service |
a31ea6 |
of the kanji. The tones are represented by a concluding
|
|
Packit Service |
a31ea6 |
digit. [Y]
|
|
Packit Service |
a31ea6 |
korean_r - the romanized form of the Korean reading(s) of the
|
|
Packit Service |
a31ea6 |
kanji. The readings are in the (Republic of Korea) Ministry
|
|
Packit Service |
a31ea6 |
of Education style of romanization. [W]
|
|
Packit Service |
a31ea6 |
korean_h - the Korean reading(s) of the kanji in hangul.
|
|
Packit Service |
a31ea6 |
ja_on - the "on" Japanese reading of the kanji, in katakana. A
|
|
Packit Service |
a31ea6 |
second attribute r_status, if present, will indicate with
|
|
Packit Service |
a31ea6 |
a value of "jy" whether the reading is approved for a
|
|
Packit Service |
a31ea6 |
"Jouyou kanji".
|
|
Packit Service |
a31ea6 |
ja_kun - the "kun" Japanese reading of the kanji, in hiragana.
|
|
Packit Service |
a31ea6 |
Where relevant the okurigana is also included separated by a
|
|
Packit Service |
a31ea6 |
".". Readings associated with prefixes and suffixes are
|
|
Packit Service |
a31ea6 |
marked with a "-". A second attribute r_status, if present,
|
|
Packit Service |
a31ea6 |
will indicate with a value of "jy" whether the reading is
|
|
Packit Service |
a31ea6 |
approved for a "Jouyou kanji".
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
See under ja_on and ja_kun above.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The meaning associated with the kanji.
|
|
Packit Service |
a31ea6 |
-->
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
The m_lang attribute defines the target language of the meaning. It
|
|
Packit Service |
a31ea6 |
will be coded using the two-letter language code from the ISO 639
|
|
Packit Service |
a31ea6 |
standard. When absent, the value "en" (i.e. English) is implied. [{}]
|
|
Packit Service |
a31ea6 |
-->]>
|
|
Packit Service |
a31ea6 |
<kanjidic2>
|
|
Packit Service |
a31ea6 |
</kanjidic2>
|