wilhelm-vocabulary / README.md
QubitPi's picture
Enhance README
084f536 verified
|
raw
history blame
3.33 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

The parenthesized value at the beginning of each definition item played an un-ignorable role: it is the label of the relationship between term and defintion in graph database loaded by Wilhelm SDK. For example, both

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

and

 - term: nämlich
   definition:
     - (adj.) same
     - (adv.) namely
     - (adv.) because

are linked to "because" visually as follows:

error loading example.png

which says both "denn" and "nämlich" can mean "because" when the former acts as a conjunction while the latter goes as an adverb. Visualzing synonyms gives human brain a big advantage on learning a language

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.