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 · Example sentences of a word, with furigana and their credit

exampleCreditfunction

The credit an example carries, as a line to show with it: the Tatoeba sentence, the authors of the Japanese and of the English, and the licence.

Import it

import { exampleCredit } from "@johnmorrisdotca/jisho/examples";

Definition

function exampleCredit(example: Pick<Example, "credit">): string

Parameters

NameTypeDescription
examplePick<Example, "credit">

An example.

Returns

string

A line such as "Tatoeba #162365, Japanese by alice, English by bob (CC BY 2.0 FR)".

Examples

import { exampleCredit, readExamples } from "@johnmorrisdotca/jisho/examples";

const [one] = readExamples("0000z\t1¦走る¦I run.¦¦3fk¦alice¦bob¦走る").examples;
console.log(one === undefined ? "" : exampleCredit(one)); // Tatoeba #4448, Japanese by alice, English by bob (CC BY 2.0 FR)
Tatoeba #4448, Japanese by alice, English by bob (CC BY 2.0 FR)

What it prints (run when this page was built)

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