リファレンス
活用した語のもとになる辞書形
import { … } from "@johnmorrisdotca/jisho/deinflect";
最小化と gzip 圧縮をしたサイズは 2.1 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Deinflection: the dictionary forms a conjugated word could come from, and the path from there to it. 食べなかった is the
negative and then the past of 食べる. A rule table of a few hundred endings (written out from a few dozen templates) does the
walking, in no data and no network: it only proposes. Which proposals are real is for the dictionary to say, by the kind of
word each would have to be (see kinds of a Word), and findInflected and inflectedOf ask it.
Covered: godan and ichidan verbs, する (and a noun with する, 勉強した) and 来る (in kanji and kana), い adjectives, and な adjectives with だ, です and ではない; in the polite, negative, past, te, conditional, volitional, potential, passive, causative and causative-passive forms, with want-to (たい), looks-like (そう), too-much (すぎる), easy-to and hard-to, while (ながら) and the commonest verbs a te-form leads (ている, てしまう, ておく, てみる, ていく, てくる, てくれる, てあげる, てもらう), and chains of all of them. Not covered: the imperative, keigo verbs, 〜ず, 〜なければならない and nouns with だ.
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
deinflect | 関数 | The dictionary forms a written word could be conjugated from, with the path from each to the word: the endings are taken off one at a time, outermost first, as a learner does, so 食べなかった is the past of 食べない, which is the negative of 食べる. |
Deinflection | 型 | One way a written word could be a conjugated dictionary word. |
DeinflectKind | 型 | The kind of word a dictionary form must be, as the letters of a Word's kinds: g godan, i ichidan, a i-adjective, n na-adjective, s suru, k kuru. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。