Reference · Look words up by reading, written form, English meaning, kanji or romaji
Sensetype
One sense of a word: the marks JMdict gives it, and its glosses, the plain one first. A mark is a JMdict code: a kind of usage
such as vulg, X, sens, derog, col, sl, arch, obs, uk, a field such as food or med, or a dialect such as ksb.
Import it
import type { Sense } from "@johnmorrisdotca/jisho/words";
Definition
type Sense = {
readonly marks: readonly string[];
readonly glosses: readonly string[];
};
Members
| Name | Type | Description |
|---|---|---|
marks | readonly string[] | The marks JMdict gives the sense. |
glosses | readonly string[] | Up to three glosses, the plain one first. |
Examples
import type { Sense } from "@johnmorrisdotca/jisho/words";
const sense: Sense = { marks: ["col"], glosses: ["paper"] };
console.log(sense.marks);[ 'col' ]What it prints (run when this page was built)