Skip to the content

Hikidashi引き出し

Era dates (和暦) and kanji numerals both ways, the dictionary forms of a conjugated word, a reading shared out over its kanji, words pulled from pasted text, and how hard a sentence is to read.

Hikidashi (引き出し) is a drawer: each tool is pulled out when it is wanted. About the name

Contents

Reference · Dictionary forms

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

NameTypeDescription
basestring

The dictionary form, as a dictionary lists it: 行く, 食べる, 高い.

wordClassWordClass

The kind of word base must be for the written form to be its conjugation.

Examples

import { dictionaryForms, type Deinflection } from "@johnmorrisdotca/hikidashi/deinflect";

const first: Deinflection | undefined = dictionaryForms("行きました")[0];
console.log(first?.base, first?.wordClass);
行く godan

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hikidashi 1.1.0.