Reference · Look words up by reading, written form, English meaning, kanji or romaji
WordRowtype
A row read from a table. Read it with wordsOf.
Import it
import type { WordRow } from "@johnmorrisdotca/jisho/words";
Definition
type WordRow = {
readonly reading: string;
readonly forms: readonly string[];
readonly senses: readonly Sense[];
readonly kinds: string;
readonly common: boolean;
readonly usuallyKana: boolean;
readonly priority: string;
readonly id: number | undefined;
};
Members
| Name | Type | Description |
|---|---|---|
reading | string | |
forms | readonly string[] | |
senses | readonly Sense[] | |
kinds | string | |
common | boolean | |
usuallyKana | boolean | |
priority | string | The priority tags as a row stores them: letters, then the newspaper band's two digits. Read them with |
id | number | undefined | The number JMdict gives the entry, or undefined for a row that does not say. |
Examples
import { readRow } from "@johnmorrisdotca/jisho/words";
console.log(readRow("かみ\t紙\tC\t¦paper").reading);かみWhat it prints (run when this page was built)