Deinflection型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One way a written word could be a conjugated dictionary word.
インポート
import type { Deinflection } from "@johnmorrisdotca/jisho/deinflect";
ほかのエクスポート元: @johnmorrisdotca/jisho/words
定義
type Deinflection = {
readonly base: string;
readonly kind: DeinflectKind;
readonly path: readonly string[];
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
base | string | The dictionary form it would come from. |
kind | DeinflectKind | The kind of word the base would have to be. |
path | readonly string[] | What was done to the base to make the word, innermost first: 食べなかった is |
例
import type { Deinflection } from "@johnmorrisdotca/jisho/deinflect";
const one: Deinflection = { base: "食べる", kind: "i", path: ["negative", "past"] };
console.log(one.path.join(", "));negative, past出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。