Wilhelm Vocabulary
The data that serves wilhelmlang.com. They are written in YAML format, because
- it is machine-readable so that it can be consumed quickly in data pipelines
- it is human-readable and, thus, easy to modify
- 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 betweenterm
anddefintion
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:
Visualzing synonyms this way presents a big advantage to human brain who is exceedingly good at memorizing patterns
German
vocabulary:
- term: string
definition: list
plural: string
declension/conjugation: string
The
conjugation
is the inflection paradigm for a German verb anddeclension
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 ofplural
that comes with it signifies a nounThose 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 declension/conjugation 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, - ] - [genitive, eines, einer, eines, - ] - [dative, einem, einer, einem, - ] - [accusative, einen, eine, ein, - ]
The declension table is equivalent to
masculine feminine neuter plural nominative ein eine ein - genitive eines einer eines - dative einem einer einem - accusative einen eine ein - The declension/conjugation tables for all vocabularies are sourced from Wiktionary
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.