リファレンス · 読み、表記、英語の意味、漢字、ローマ字から単語を引く
PackedPatch型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What to do to the common words that safe mode keeps to have every common word as JMdict has it: each edit is a position, then "r" to replace the row there or "i" to insert one before it, then the row, apart by tabs.
インポート
import type { PackedPatch } from "@johnmorrisdotca/jisho/words";
定義
type PackedPatch = {
readonly source: string;
readonly release: string;
readonly edits: readonly string[];
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
source | string | |
release | string | |
edits | readonly string[] |
例
import type { PackedPatch } from "@johnmorrisdotca/jisho/words";
const patch: PackedPatch = { source: "JMdict", release: "2026-11-02", edits: ["0\ti\tあ\tC\t¦ah"] };
console.log(patch.edits.length);1出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。