本文へ移動

Kotoba言葉

必要な単語一覧だけを読み込み、重複する文字を正しく判定し、日替わりやシード付きの単語ゲームを遊べます。

「Kotoba」は「言葉」です。 名前について(英語)

目次

リファレンス · 日本語の慣用句

JA_IDIOMS定数

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

THE JAPANESE IDIOMS. Written by scripts/word-lists-ja-phrases.mjs from JMdict, release 2026-11-04, and KANJIDIC2, 2026-11-04. Never edited by hand; the monthly refresh (.github/workflows/jmdict-refresh.yml) runs the script again.

JMdict and KANJIDIC2 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 list is derived from them and under the same licence.

1397 that JMdict marks idiomatic and 612 expressions taken by this package's own rule; 1051 written only in kanji taught in elementary school; 41 marked common.

インポート

import { JA_IDIOMS } from "@johnmorrisdotca/kotoba/idioms-ja";

定義

const JA_IDIOMS: PackedIdioms

メンバー

名前型説明
releasestring

The JMdict release it was made from.

idiomsreadonly (readonly [string, string, readonly string[], number, number, number])[]

Written form, reading, meanings, then is-JMdict's-idiom, elementary and common.

例

import { JA_IDIOMS } from "@johnmorrisdotca/kotoba/idioms-ja";
console.log(Object.keys(JA_IDIOMS));
[ 'release', 'idioms' ]

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

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

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