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 · The whole entry of a word: every sense, and everything JMdict says of it

readEntryfunction

An entry out of the line it is stored as. The entry and every list in it are frozen.

Import it

import { readEntry } from "@johnmorrisdotca/jisho/entries";

Definition

function readEntry(line: string): Entry

Parameters

NameTypeDescription
linestring

One string of an entry piece: its number in base 36, its written forms, its readings, then one field for each sense.

Returns

Entry

The entry.

Examples

import { readEntry } from "@johnmorrisdotca/jisho/entries";

console.log(readEntry("0000z\t紙\tかみ\tn¦¦paper").senses[0]?.glosses[0]?.text); // paper
paper

What it prints (run when this page was built)

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