Reference
The whole entry of a word: every sense, and everything JMdict says of it
import { … } from "@johnmorrisdotca/jisho/entries";
9058.3 kB minified and gzipped, with everything it imports (measured with esbuild)
The whole entry of a word, in an entry point of its own so that a page that looks words up never carries it. Fetched in pieces,
one for an entry, when loadEntry is called.
Exports
| Name | Kind | What it is |
|---|---|---|
Entry | type | The whole entry of a word, as loadEntry gives it. |
EntryForm | type | The marks of a written form of an entry, such as ateji or rK (a rarely used form). |
EntryGloss | type | A gloss, and what kind of gloss it is when JMdict says: lit a literal rendering, expl an explanation, fig a figurative one, tm a trademark. |
EntryManifest | type | Where the pieces of the whole entries are: the first number of each, and how to fetch it. |
EntryReading | type | A reading of an entry, with its marks and the written forms it is limited to. |
EntrySense | type | A sense of a whole entry: everything JMdict says of it. |
loadEntry | function | The whole entry of a word, or null when JMdict has no entry by that number. |
LoanSource | type | The word a loanword comes from, in the language it comes from. |
readEntry | function | An entry out of the line it is stored as. |
Reference | type | A cross-reference in its parts, from referenceOf. |
referenceOf | function | A cross-reference of a sense in its parts: JMdict writes one as the word, the reading and the number of the sense, apart by "・", each of them optional (神, 神・かみ, 天神・6). |