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

EntrySensetype

A sense of a whole entry: everything JMdict says of it.

Import it

import type { EntrySense } from "@johnmorrisdotca/jisho/entries";

Definition

type EntrySense = {
    readonly number: number;
    readonly pos: readonly string[];
    readonly marks: readonly string[];
    readonly glosses: readonly EntryGloss[];
    readonly onlyForms: readonly string[];
    readonly onlyReadings: readonly string[];
    readonly seeAlso: readonly string[];
    readonly antonyms: readonly string[];
    readonly notes: readonly string[];
    readonly sources: readonly LoanSource[];
};

Members

NameTypeDescription
numbernumber

Its number in the entry of JMdict, counting from 1: the number a cross-reference means, which stays when safe mode leaves a sense out.

posreadonly string[]

The parts of speech, as JMdict's codes (n, v5r, adj-i, vt…).

marksreadonly string[]

The marks: usage, field and dialect codes, as a Sense has them.

glossesreadonly EntryGloss[]

Every gloss, the order JMdict has them in.

onlyFormsreadonly string[]

The written forms this sense is limited to; none when it is for all of them.

onlyReadingsreadonly string[]

The readings this sense is limited to; none when it is for all of them.

seeAlsoreadonly string[]

Cross-references, as JMdict writes them; read one with referenceOf.

antonymsreadonly string[]

Antonyms, written the same way.

notesreadonly string[]

Notes on the sense, such as "usu. in the negative".

sourcesreadonly LoanSource[]

The languages a loanword comes from.

Examples

import type { EntrySense } from "@johnmorrisdotca/jisho/entries";

const sense: EntrySense = { number: 1, pos: ["n"], marks: [], glosses: [{ text: "paper", kind: null }], onlyForms: [], onlyReadings: [], seeAlso: [], antonyms: [], notes: [], sources: [] };
console.log(sense.glosses[0]?.text);
paper

What it prints (run when this page was built)

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