Deinflectiontype
One answer of dictionaryForms: a dictionary form the written word could come from, and the kind of word it would
have to be for that to be true.
Import it
import type { Deinflection } from "@johnmorrisdotca/hikidashi/deinflect";
Also exported from: @johnmorrisdotca/hikidashi
Definition
type Deinflection = {
base: string;
wordClass: WordClass;
};
Members
| Name | Type | Description |
|---|---|---|
base | string | The dictionary form, as a dictionary lists it: 行く, 食べる, 高い. |
wordClass | WordClass | The kind of word |
Examples
import { dictionaryForms, type Deinflection } from "@johnmorrisdotca/hikidashi/deinflect";
const first: Deinflection | undefined = dictionaryForms("行きました")[0];
console.log(first?.base, first?.wordClass);行く godanWhat it prints (run when this page was built)