QubitPi commited on
Commit
a16c6fa
1 Parent(s): ea8fd29
Files changed (3) hide show
  1. README.md +19 -15
  2. general-schema.png +0 -0
  3. german.yaml +4 -4
README.md CHANGED
@@ -5,27 +5,32 @@ Wilhelm Vocabulary
5
  ![GitHub workflow status badge][GitHub workflow status]
6
  [![Apache License Badge]](https://www.apache.org/licenses/LICENSE-2.0)
7
 
 
 
 
8
  The data that serves [wilhelmlang.com](https://wilhelmlang.com/). They are written in YAML format, because
9
 
10
  1. it is machine-readable so that it can be consumed quickly in data pipelines
11
  2. it is human-readable and, thus, easy to modify
12
  3. it supports multi-lines value which is very handy for data of natural languages
13
 
14
- <!-- TOC -->
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
- - [Wilhelm Vocabulary](#wilhelm-vocabulary)
17
- - [German](#german)
18
- - [YAML Schema](#yaml-schema)
19
- - [German Noun Declension](#german-noun-declension)
20
- - [German (Attributive) Adjective Declension](#german-attributive-adjective-declension)
21
- - [German Verb Conjugation](#german-verb-conjugation)
22
- - [Korean](#korean)
23
- - [Classical Hebrew (Coming Soon)](#classical-hebrew-coming-soon)
24
- - [Ancient Greek](#ancient-greek)
25
- - [Latin](#latin)
26
- - [License](#license)
27
 
28
- <!-- TOC -->
29
 
30
  [German](./german.yaml)
31
  -----------------------
@@ -36,7 +41,6 @@ The data that serves [wilhelmlang.com](https://wilhelmlang.com/). They are writt
36
  vocabulary:
37
  - term: string
38
  definition: list
39
- plural: string
40
  declension/conjugation: application-specific table
41
  ```
42
 
@@ -76,7 +80,7 @@ vocabulary:
76
  > [!TIP]
77
  >
78
  > The parenthesized value at the beginning of each `definition` item played an un-ignorable role: it is the label of the
79
- > relationship between `term` and `defintion` in graph database loaded by
80
  > [Wilhelm SDK](https://github.com/QubitPi/wilhelm-graphdb-python). For example, both German words
81
  >
82
  > ```yaml
 
5
  ![GitHub workflow status badge][GitHub workflow status]
6
  [![Apache License Badge]](https://www.apache.org/licenses/LICENSE-2.0)
7
 
8
+ Data Format
9
+ -----------
10
+
11
  The data that serves [wilhelmlang.com](https://wilhelmlang.com/). They are written in YAML format, because
12
 
13
  1. it is machine-readable so that it can be consumed quickly in data pipelines
14
  2. it is human-readable and, thus, easy to modify
15
  3. it supports multi-lines value which is very handy for data of natural languages
16
 
17
+ How Data (Vocabulary) is Stored in a Graph Database
18
+ ---------------------------------------------------
19
+
20
+ ### Data Model
21
+
22
+ Graph data representation assumes universal connectivity among world entities. This applies pretty well to the realm of
23
+ languages. Multilanguate learners have already seen that Indo-European languages are similar in many different ways.
24
+ What's missing is connecting the dots using Graph Databases.
25
+
26
+ __Language represented as a graph reveals lots of interesting information__. To accomplish such representation, each
27
+ word (`term`) is presented in the following way
28
+
29
+ ### Definition
30
 
31
+ _The meaning of a word is called the `definition`__
 
 
 
 
 
 
 
 
 
 
32
 
33
+ ![Error loading general-schema.png](./general-schema.png)
34
 
35
  [German](./german.yaml)
36
  -----------------------
 
41
  vocabulary:
42
  - term: string
43
  definition: list
 
44
  declension/conjugation: application-specific table
45
  ```
46
 
 
80
  > [!TIP]
81
  >
82
  > The parenthesized value at the beginning of each `definition` item played an un-ignorable role: it is the label of the
83
+ > relationship between `term` and `definition` in graph database loaded by
84
  > [Wilhelm SDK](https://github.com/QubitPi/wilhelm-graphdb-python). For example, both German words
85
  >
86
  > ```yaml
general-schema.png ADDED
german.yaml CHANGED
@@ -503,7 +503,7 @@ vocabulary:
503
  - term: alt
504
  definition: old
505
  - term: Ich bin 23 Jahre alt.
506
- defintion: I'm 23 years old.
507
  - term: die Fremdsprache
508
  definition: foreign language
509
  - term: die Muttersprache
@@ -763,7 +763,7 @@ vocabulary:
763
  - term: eine Dose Cola
764
  definition: a can of coke
765
  - term: zwei Dosen Cola
766
- defintion: three cans of coke
767
  - term: das Glas
768
  definition: the glass
769
  declension:
@@ -774,7 +774,7 @@ vocabulary:
774
  - [dative, einem, dem, Glas, den, "Gläsern, Glas"]
775
  - [accusative, ein, das, Glas, die, "Gläser, Glas" ]
776
  - term: ein Glas Wasser
777
- defintion: a glass of water
778
  - term: zwei Gläser Wasser
779
  definition: two glasses of water
780
  - term: trinken
@@ -1457,7 +1457,7 @@ vocabulary:
1457
  definition: to discuss
1458
  conjugation: https://en.wiktionary.org/wiki/diskutieren#Conjugation
1459
  - term: die Angelegenheit
1460
- definiton: matter, issue, affair
1461
  declension: https://en.wiktionary.org/wiki/Angelegenheit#Declension
1462
  - term: die Sache
1463
  definition:
 
503
  - term: alt
504
  definition: old
505
  - term: Ich bin 23 Jahre alt.
506
+ definition: I'm 23 years old.
507
  - term: die Fremdsprache
508
  definition: foreign language
509
  - term: die Muttersprache
 
763
  - term: eine Dose Cola
764
  definition: a can of coke
765
  - term: zwei Dosen Cola
766
+ definition: three cans of coke
767
  - term: das Glas
768
  definition: the glass
769
  declension:
 
774
  - [dative, einem, dem, Glas, den, "Gläsern, Glas"]
775
  - [accusative, ein, das, Glas, die, "Gläser, Glas" ]
776
  - term: ein Glas Wasser
777
+ definition: a glass of water
778
  - term: zwei Gläser Wasser
779
  definition: two glasses of water
780
  - term: trinken
 
1457
  definition: to discuss
1458
  conjugation: https://en.wiktionary.org/wiki/diskutieren#Conjugation
1459
  - term: die Angelegenheit
1460
+ definition: matter, issue, affair
1461
  declension: https://en.wiktionary.org/wiki/Angelegenheit#Declension
1462
  - term: die Sache
1463
  definition: