wilhelm-vocabulary / README.md
QubitPi's picture
Add documentatin to German vocabulary
6dd92f3 verified
|
raw
history blame
2.5 kB

Wilhelm Vocabulary

GitHub last commit badge GitHub workflow status badge Apache License Badge

The data that serves wilhelmlang.com. They are written in YAML format, because

  1. it is machine-readable so that it can be consumed quickly in data pipelines
  2. it is human-readable and, thus, easy to modify
  3. it supports multi-lines value which is very handy for data of natural languages

YAML Schema

German

vocabulary:
  - term: string
    definition: list
    plural: string
    declension/conjugation: string
  • The conjugation is the inflection paradigm for a German verb and declension the inflection for nouns and adjectives. Only one of the two is present for a term.

  • The type of the word can be inferred using the following rule

    • term with a definite article of "der"/"die"/"das" and a field of plural that comes with it signifies a noun

    • Those with conjugation field denotes a verb; its definition also begins with "to ..."

    • The rests are explicitly stated in the definition field. For example,

        - term: ob
          definition:
            - (conj.) if
            - (conj.) whether
      

      means "ob" is a conjunction in this case

        - term: denn
          definition:
            - (adv.) then, thus
            - (conj.) because
      

      tells that "denn" can be both an adverb or conjunction

Korean

vocabulary:
  - term: string
    definition: list

Ancient Greek

vocabulary:
  - term: string
    definition: list

Latin

vocabulary:
  - term: string
    definition: list

License

The use and distribution terms for wilhelm-vocabulary are covered by the Apache License, Version 2.0.