本文へ移動

Bushu部首

漢字に見える部品を選び、全てを含む漢字を探し、ページに部首選択を追加できます。

「部首」は、漢字を分類する部分です。 名前について(英語)

目次

リファレンス · 部品の索引と出典

RADKFILE定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

THE RADICALS AND THEIR KANJI, from RADKFILE. Written by scripts/build-data.mjs, never edited by hand; the monthly refresh (.github/workflows/radkfile-refresh.yml) runs the script again.

RADKFILE and KRADFILE are the property of the Electronic Dictionary Research and Development Group (EDRDG), used under the Creative Commons Attribution-ShareAlike 4.0 licence and the Group's conditions: https://www.edrdg.org/edrdg/licence.html. This data is derived from them and is under the same licence (see NOTICE.md).

253 radicals, in the file's own order (fewest strokes first), each with its stroke count as RADKFILE writes it and every kanji that holds it; 6355 kanji in all (the JIS X 0208 set). A radical with no character of its own is keyed by a kanji that holds the shape (汁 for 氵): radicalForm says the shape. KRADFILE, which lists the same thing kanji by kanji, was checked to agree with RADKFILE on every one of the 6355 kanji before this was written. unicode is the character EDRDG means by a stand-in, from KRADFILE's header.

インポート

import { RADKFILE } from "@johnmorrisdotca/bushu/radkfile";

定義

const RADKFILE: { sources: Record<"radkfile" | "kradfile", { name: string; url: string; fileDate: string | null; sha256: string; retrieved: string; }>; radicals: readonly Radical[]; unicode: Readonly<Record<string, string>>; }

メンバー

名前型説明
sourcesRecord<"radkfile" | "kradfile", { name: string; url: string; fileDate: string | null; sha256: string; retrieved: string; }>

What this was made from: each file's address, SHA-256 (of the file as served, gzipped) and the date this was made, and the date the file gives itself.

radicalsreadonly Radical[]
unicodeReadonly<Record<string, string>>

例

import { RADKFILE } from "@johnmorrisdotca/bushu/radkfile";

const radicals = RADKFILE.radicals;
console.log(RADKFILE.radicals.length);
253

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/bushu 1.1.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。