Skip to content
Chunji Wang edited this page Feb 4, 2023 · 6 revisions

Assumptions about the json object returned from the API

  1. A RetrieveEntry has at least one HeadwordEntry.
  2. A HeadwordEntry has at least one LexicalEntry.
  3. A HeadwordEntry has at most one origin across its LexicalEntry's, and there is no sense level etymologies.
  4. A LexicalEntry has one and only one
    1. LexicalCategory (single object) (must only one. LexicalCategory) and
    2. Entry (array of length 1) (must only one Entry).
  5. A Sense if has definitions then only one definition.

So far, at least one LexicalEntry and must only one Entry are used in the Display trait for HeadwordEntry.

Examples of entries

Weirdness Word(s)
two pronunciations for two lexical entries in one headword import
crossReferenceMarkers stele
empty senses blubbery, monolatrist
multiple pronunciations for the same lexical entry cuneiform
multiple headwords (with one origin each) bass, minute
missing origin Antarctica, oxidize
special characters in origins (e.g. ǣ) least, oxide

Possible mistakes in the dictionaries

en-us

  • Audio files of entry content
  • IPA spelling of entry Sheetrock