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

meaningOffunction

The meaning of the commonest word a text has, or null: a text with no word, or none that the mode and the lists let through, has no meaning, and the answer is never a placeholder.

Import it

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

Definition

function meaningOf(words: Words, text: string, options?: LookupOptions): string | null

Parameters

NameTypeDescription
wordsWords

What loadWords or loadCommonWords gave back.

textstring

A reading or a written form that was loaded.

options (optional)LookupOptions

romaji: true to read Latin letters as romaji.

Returns

string | null

The meaning, or null.

Examples

import { loadWords, meaningOf } from "@johnmorrisdotca/jisho/words";

console.log(meaningOf(await loadWords(["紙"]), "紙")); // paper
paper

What it prints (run when this page was built)

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