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

meaningFromfunction

The short English meaning of some senses: up to two senses of up to three glosses, ", " between glosses and "; " between senses, cut at a whole gloss inside 60 characters. A lookup makes the meaning of each word this way from the senses it has, and a tool that leaves senses out makes it again from the senses that are left.

Import it

import { meaningFrom } from "@johnmorrisdotca/jisho/words";

Definition

function meaningFrom(senses: readonly Sense[]): string

Parameters

NameTypeDescription
sensesreadonly Sense[]

The senses, in order.

Returns

string

The meaning, or an empty text for no senses.

Examples

import { meaningFrom } from "@johnmorrisdotca/jisho/words";

console.log(meaningFrom([{ marks: [], glosses: ["paper"] }, { marks: ["col"], glosses: ["a sheet", "a page"] }])); // paper; a sheet, a page
paper; a sheet, a page

What it prints (run when this page was built)

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