wilhelm-vocabulary / README.md
QubitPi's picture
Fix CI/CD
66f8466 verified
|
raw
history blame
8.24 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

German

YAML Schema

vocabulary:
  - term: string
    definition: list
    plural: string
    declension/conjugation: application-specific table
  • 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 signifies a noun. For instance

        - term: die Wissenschaft
          definition: the Science
      
    • Those with conjugation field denotes a verb; its definition also begins with an indefinite form, i.e. "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 and

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

      tells that "denn" can be adverb or conjunction

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 German words

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

and

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

can mean "because" acting as different types. This is visualized as follows:

error loading example.png

Visualzing synonyms this way presents a big advantage to human brain who is exceedingly good at memorizing patterns

German Noun Declension

The declension table employees an application-specific YAML that looks like the following:

  - term: ein
    definition: (article) a, an
    declension:
      - ["",         masculine, feminine, neuter, plural]
      - [nominative, ein,       eine,     ein,    N/A   ]
      - [genitive,   eines,     einer,    eines,  N/A   ]
      - [dative,     einem,     einer,    einem,  N/A   ]
      - [accusative, einen,     eine,     ein,    N/A   ]

The declension table above is equivalent to

masculine feminine neuter plural
nominative ein eine ein N/A
genitive eines einer eines N/A
dative einem einer einem N/A
accusative einen eine ein N/A

  • A list under declension is a table row
  • All rows have the same number of columns
  • Each element of the list corresponds to a table cell

The declension tables for all nouns are sourced from Wiktionary

German Verb Conjugation

There are 3 persons, 2 numbers, and 4 moods (indicative, conditional, imperative and subjunctive) to consider in conjugation. There are 6 tenses in German: the present and past are conjugated, and there are four compound tenses. There are two categories of verbs in German: weak and strong^1. In addition, strong verbs are grouped into 7 "classes"

The conjugation table of German verb on Wiktionary is hard to interpret as a German language learner. It does, however, presents a very good Philology reference. For example, it tells us which of the 7 "classes" a strong verb belongs to. We, therefore, leave the Wiktionary links to the conjugation table of that verb for data processing in the future, for example,

  - term: aufwachsen
    definition: to grow up
    conjugation: https://en.wiktionary.org/wiki/aufwachsen#Conjugation

and advise user to employ a much more practical method to learn daily conjugation as follows. We take aufwachsen as an example.

I'm not advertising for any organizations. I'm simply sharing good resources.

Netzverb Dictionary is the best German dictionary targeting the vocabulary inflection. Search for "aufwachsen" and we will see much more intuitive conjugation tables listed.

This pretty much serves our needs, but what makes Netzverb unpenetrable by other alternatives is that every verb comes with

  1. A printable version that looks much better than the browser's Control+P export

    • There is also a "Sentences with German verb aufwachsen" section with a link that offer a fruitful number of conjugated examples that get us familiar with the inflections of the verb
  2. An on-the-fly generated flashcard sheet which allows us to make a better usage of our random free time

  3. A YouTube video that offers audios of almost every conjugated form, which helps with conjugated pronunciations

  • It is, thus, strongly recommended to study the conjugation through Netzverb Dictionary separately
  • Netzverb Dictionary, however, lacks a programmable API. Wiktionary has a good one instead. This is why we left the conjugation link to Wiktionary for now and it will definitely serve us well as I'm trying to make it happen

Korean

中国人学习韩语有先天优势,加之韩语本身也是一门相当简单的语言,所以这里将语法和词汇合并在一起; 每一项也只由 term(韩)和 definition(中)组成,

vocabulary:
  - term: string
    definition: list

不用费太多功夫记牢简单的语法和词汇,剩下的就是拿韩语字幕剧不停练习听说读写既成。

Classical Hebrew (Coming Soon)

The vocabulary is presented to help read and understand Biblical Hebrew. A complementary audio helps well with the pronunciation.

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.