JMnedict root object

Differences from JMdict format (in JMdictWord):

  1. kanji and kana have no common flag because in this dictionary priority data is missing (ke_pri and re_pri fields in JMdict, see JMdictKanji.common and JMdictKana.common)
  2. translation instead of gloss
  3. translation->translation->lang seems to be always empty because the original XML files have no data in corresponding attributes, even though documentation says otherwise. In this JSON version, "eng" (English) is always present as a default

Hierarchy

Properties

commonOnly: boolean

true if this file contains only common kana/kanji versions

dictDate: string

Creation date of JMdict file, as it appears in a comment with format "JMdict created: YYYY-MM-DD" in the original XML file header

dictRevisions: string[]

Revisions of JMdict file, as they appear in comments in the original XML file header. These only contain actual version (e.g., "1.08"), not a full comment. Original comments also mention changes made, but this is omitted in the resulting JSON files

languages: string[]

List of languages in this files

tags: {
    [tag: Tag]: string;
}

Tags: parts of speech, names of dialects, fields of application, etc. All those things are expressed as XML entities in the original file. Keys of this object are tags per se, and values are descriptions, slightly modified from the original file

Type declaration

  • [tag: Tag]: string
version: string

Semantic version of this project (not the dictionary itself). For the dictionary revisions, see dictRevisions field below

See

https://semver.org/

words: JMnedictWord[]

List of dictionary entries/words

Generated using TypeDoc