Skip to the content

Jisho辞書

The words of JMdict looked up by reading, written form, English meaning, a kanji in them or romaji, in small pieces fetched as needed, safe by default or unfiltered with every sense's marks, and the school grades, JLPT levels, readings, meanings and look-alike pairs of 2,999 kanji, each table an entry point of its own.

Jisho is the Japanese word 辞書 for a dictionary: this one holds Japanese words and kanji. About the name

Contents

Reference · Look words up by reading, written form, English meaning, kanji or romaji

InflectedWordtype

A word found for a text, and how the text comes from it.

Import it

import type { InflectedWord } from "@johnmorrisdotca/jisho/words";

Definition

type InflectedWord = {
    readonly word: Word;
    readonly form: string;
    readonly path: readonly string[];
};

Members

NameTypeDescription
wordWord

The dictionary word.

formstring

The dictionary form as it was looked up, spelled as the text spells it (in kana for a text in kana): the text itself when the path is empty.

pathreadonly string[]

What was done to its dictionary form to make the text, innermost first: 食べなかった is ["negative", "past"]. Empty when the text is the word as the dictionary has it.

Examples

import type { InflectedWord } from "@johnmorrisdotca/jisho/words";

const found: InflectedWord = { word: { written: "食べる", reading: "たべる", forms: ["食べる"], meaning: "to eat", senses: [], kinds: "i", common: true, rank: 1, priority: [] }, form: "食べる", path: ["negative", "past"] };
console.log(found.path.join(", "));
negative, past

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jisho 2.11.0.