Add more German vocabularies (#100)
Browse files- README.md +26 -23
- features/steps/graphs.py +2 -1
- german.yaml +94 -5
README.md
CHANGED
@@ -48,9 +48,9 @@ Wilhelm Vocabulary
|
|
48 |
* [Data Format](#data-format)
|
49 |
* [Encoding Table in YAML](#encoding-table-in-yaml)
|
50 |
* [Data Pipeline](#data-pipeline)
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
* [Languages](#languages)
|
55 |
* [German](#german)
|
56 |
* [Pronoun](#pronoun)
|
@@ -277,7 +277,7 @@ The declension (inflection) table above is equivalent to
|
|
277 |
Data Pipeline
|
278 |
-------------
|
279 |
|
280 |
-
![Data pipeline](docs/data-pipeline.png "Error loading data-
|
281 |
|
282 |
> [!CAUTION]
|
283 |
>
|
@@ -292,10 +292,9 @@ Data Pipeline
|
|
292 |
> These multiple entries, because they have lots of common properties, often triggers constraint violations in Neo4J on
|
293 |
> load
|
294 |
|
295 |
-
How Data (Vocabulary) is Stored in a Graph Database
|
296 |
-
---------------------------------------------------
|
297 |
|
298 |
-
|
299 |
|
300 |
Graph data representation assumes universal connectivity among world entities. This applies pretty well to the realm of
|
301 |
languages. Multilanguage learners have already seen that Indo-European languages are similar in many aspects. The
|
@@ -304,7 +303,7 @@ multilanguage learners to take advantages of them and study much more efficientl
|
|
304 |
using Graph Databases that visually presents these vastly enlightening links between the related languages in a natural
|
305 |
way.
|
306 |
|
307 |
-
|
308 |
|
309 |
```yaml
|
310 |
vocabulary:
|
@@ -374,29 +373,33 @@ declension:
|
|
374 |
|
375 |
#### Noun
|
376 |
|
377 |
-
`term` with a _definite article_ of `der`/`die`/`das` signifies a __noun__ which has
|
378 |
-
following
|
379 |
|
380 |
```yaml
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
|
|
|
|
|
|
387 |
```
|
388 |
|
389 |
For example:
|
390 |
|
391 |
```yaml
|
392 |
-
- term: das
|
393 |
-
definition: the
|
|
|
394 |
declension:
|
395 |
-
- ["", singular,
|
396 |
-
- [nominative,
|
397 |
-
- [genitive,
|
398 |
-
- [dative,
|
399 |
-
- [accusative,
|
400 |
```
|
401 |
|
402 |
> [!TIP]
|
|
|
48 |
* [Data Format](#data-format)
|
49 |
* [Encoding Table in YAML](#encoding-table-in-yaml)
|
50 |
* [Data Pipeline](#data-pipeline)
|
51 |
+
* [How Data (Vocabulary) is Stored in a Graph Database](#how-data-vocabulary-is-stored-in-a-graph-database)
|
52 |
+
* [Why Graph Database](#why-graph-database)
|
53 |
+
* [Base Schema](#base-schema)
|
54 |
* [Languages](#languages)
|
55 |
* [German](#german)
|
56 |
* [Pronoun](#pronoun)
|
|
|
277 |
Data Pipeline
|
278 |
-------------
|
279 |
|
280 |
+
![Data pipeline](docs/data-pipeline.png "Error loading data-pipeline.png")
|
281 |
|
282 |
> [!CAUTION]
|
283 |
>
|
|
|
292 |
> These multiple entries, because they have lots of common properties, often triggers constraint violations in Neo4J on
|
293 |
> load
|
294 |
|
295 |
+
### How Data (Vocabulary) is Stored in a Graph Database
|
|
|
296 |
|
297 |
+
#### Why Graph Database
|
298 |
|
299 |
Graph data representation assumes universal connectivity among world entities. This applies pretty well to the realm of
|
300 |
languages. Multilanguage learners have already seen that Indo-European languages are similar in many aspects. The
|
|
|
303 |
using Graph Databases that visually presents these vastly enlightening links between the related languages in a natural
|
304 |
way.
|
305 |
|
306 |
+
#### Base Schema
|
307 |
|
308 |
```yaml
|
309 |
vocabulary:
|
|
|
373 |
|
374 |
#### Noun
|
375 |
|
376 |
+
`term` with a _definite article_ of `der`/`die`/`das` signifies a __noun__ which has the entry format with the
|
377 |
+
declension table of the following template:
|
378 |
|
379 |
```yaml
|
380 |
+
- term:
|
381 |
+
definition:
|
382 |
+
audio:
|
383 |
+
declension:
|
384 |
+
- ["", singular, plural]
|
385 |
+
- [nominative, ████████, ██████]
|
386 |
+
- [genitive, ████████, ██████]
|
387 |
+
- [dative, ████████, ██████]
|
388 |
+
- [accusative, ████████, ██████]
|
389 |
```
|
390 |
|
391 |
For example:
|
392 |
|
393 |
```yaml
|
394 |
+
- term: das Gespräch
|
395 |
+
definition: the conversation
|
396 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/f/f5/De-Gespr%C3%A4ch.ogg
|
397 |
declension:
|
398 |
+
- ["", singular, plural ]
|
399 |
+
- [nominative, Gespräch, Gespräche ]
|
400 |
+
- [genitive, "Gespräches, Gesprächs", Gespräche ]
|
401 |
+
- [dative, Gespräch, Gesprächen]
|
402 |
+
- [accusative, Gespräch, Gespräche ]
|
403 |
```
|
404 |
|
405 |
> [!TIP]
|
features/steps/graphs.py
CHANGED
@@ -34,8 +34,9 @@ def step_impl(context):
|
|
34 |
"""
|
35 |
))
|
36 |
|
|
|
37 |
assert set(result["nodes"]) == {"aber lieber", "aber", "but", "sed", "ἀλλά", "δέ", "and", "τε", "et", "καί",
|
38 |
-
"also", "even", "
|
39 |
|
40 |
|
41 |
def parse_apoc_path_expand_result(result):
|
|
|
34 |
"""
|
35 |
))
|
36 |
|
37 |
+
print(set(result["nodes"]))
|
38 |
assert set(result["nodes"]) == {"aber lieber", "aber", "but", "sed", "ἀλλά", "δέ", "and", "τε", "et", "καί",
|
39 |
+
"also", "even", "δ᾽"}
|
40 |
|
41 |
|
42 |
def parse_apoc_path_expand_result(result):
|
german.yaml
CHANGED
@@ -225,8 +225,6 @@ vocabulary:
|
|
225 |
- [genitive, "Tages, Tags", Tage ]
|
226 |
- [dative, Tag, Tagen ]
|
227 |
- [accusative, Tag, Tage ]
|
228 |
-
- term: der Montag
|
229 |
-
definition: the Monday
|
230 |
- term: Guten Tag
|
231 |
definition: Good day
|
232 |
- term: Hallo
|
@@ -248,7 +246,13 @@ vocabulary:
|
|
248 |
- term: bitte
|
249 |
definition: please
|
250 |
- term: wie
|
251 |
-
definition:
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
- term: Wie ist Ihr Name?
|
253 |
definition: What's your name?
|
254 |
- term: Wie heißen Sie?
|
@@ -2188,8 +2192,8 @@ vocabulary:
|
|
2188 |
definition: boring
|
2189 |
- term: na
|
2190 |
definition: well
|
2191 |
-
- term:
|
2192 |
-
definition: (informal)
|
2193 |
- term: wohl
|
2194 |
definition:
|
2195 |
- possibly
|
@@ -2555,6 +2559,11 @@ vocabulary:
|
|
2555 |
definition: to bring
|
2556 |
- term: surfen
|
2557 |
definition: to surf
|
|
|
|
|
|
|
|
|
|
|
2558 |
- term: trainieren
|
2559 |
definition:
|
2560 |
- to train
|
@@ -3232,6 +3241,15 @@ vocabulary:
|
|
3232 |
definition: (adv.) at midday
|
3233 |
- term: ein Uhr mittags
|
3234 |
definition: (clock time) one o'clock in the afternoon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3235 |
- term: vier Uhr nachmittags
|
3236 |
definition: (clock time) four o'clock in the afternoon
|
3237 |
- term: sieben Uhr abends
|
@@ -3258,6 +3276,7 @@ vocabulary:
|
|
3258 |
definition:
|
3259 |
- (adv.) already
|
3260 |
- (adv.) previously
|
|
|
3261 |
- term: los
|
3262 |
definition:
|
3263 |
- (interjection) come on!
|
@@ -3991,6 +4010,61 @@ vocabulary:
|
|
3991 |
- [genitive, Telefonrechnung, Telefonrechnungen]
|
3992 |
- [dative, Telefonrechnung, Telefonrechnungen]
|
3993 |
- [accusative, Telefonrechnung, Telefonrechnungen]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3994 |
|
3995 |
|
3996 |
|
@@ -5068,6 +5142,21 @@ vocabulary:
|
|
5068 |
- [genitive, Genossen, Genossen]
|
5069 |
- [dative, Genossen, Genossen]
|
5070 |
- [accusative, Genossen, Genossen]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5071 |
- term: scheinen
|
5072 |
definition: to shine
|
5073 |
audio: https://upload.wikimedia.org/wikipedia/commons/3/3c/De-scheinen.ogg
|
|
|
225 |
- [genitive, "Tages, Tags", Tage ]
|
226 |
- [dative, Tag, Tagen ]
|
227 |
- [accusative, Tag, Tage ]
|
|
|
|
|
228 |
- term: Guten Tag
|
229 |
definition: Good day
|
230 |
- term: Hallo
|
|
|
246 |
- term: bitte
|
247 |
definition: please
|
248 |
- term: wie
|
249 |
+
definition:
|
250 |
+
- how
|
251 |
+
- like
|
252 |
+
- as
|
253 |
+
- (colloquial, nonstandard) than
|
254 |
+
- (chiefly colloquial) when (referring to the past)
|
255 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/f/fc/De-wie3.ogg
|
256 |
- term: Wie ist Ihr Name?
|
257 |
definition: What's your name?
|
258 |
- term: Wie heißen Sie?
|
|
|
2192 |
definition: boring
|
2193 |
- term: na
|
2194 |
definition: well
|
2195 |
+
- term: na ja
|
2196 |
+
definition: (informal) oh well
|
2197 |
- term: wohl
|
2198 |
definition:
|
2199 |
- possibly
|
|
|
2559 |
definition: to bring
|
2560 |
- term: surfen
|
2561 |
definition: to surf
|
2562 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/a/a3/De-surfen.ogg
|
2563 |
+
verbformen:
|
2564 |
+
video: https://youtu.be/_ub4PL2JlJ4
|
2565 |
+
conjugation: https://www.verbformen.com/conjugation/surfen_ist.pdf
|
2566 |
+
flashcards: https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/surfen_ist.pdf
|
2567 |
- term: trainieren
|
2568 |
definition:
|
2569 |
- to train
|
|
|
3241 |
definition: (adv.) at midday
|
3242 |
- term: ein Uhr mittags
|
3243 |
definition: (clock time) one o'clock in the afternoon
|
3244 |
+
- term: der Nachmittag
|
3245 |
+
definition: the afternoon
|
3246 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/6/68/De-Nachmittag.ogg
|
3247 |
+
declension:
|
3248 |
+
- ["", singular, plural ]
|
3249 |
+
- [nominative, Nachmittag, Nachmittage ]
|
3250 |
+
- [genitive, "Nachmittages, Nachmittags", Nachmittage ]
|
3251 |
+
- [dative, Nachmittag, Nachmittagen]
|
3252 |
+
- [accusative, Nachmittag, Nachmittage ]
|
3253 |
- term: vier Uhr nachmittags
|
3254 |
definition: (clock time) four o'clock in the afternoon
|
3255 |
- term: sieben Uhr abends
|
|
|
3276 |
definition:
|
3277 |
- (adv.) already
|
3278 |
- (adv.) previously
|
3279 |
+
- (adv.) really
|
3280 |
- term: los
|
3281 |
definition:
|
3282 |
- (interjection) come on!
|
|
|
4010 |
- [genitive, Telefonrechnung, Telefonrechnungen]
|
4011 |
- [dative, Telefonrechnung, Telefonrechnungen]
|
4012 |
- [accusative, Telefonrechnung, Telefonrechnungen]
|
4013 |
+
- term: das Gespräch
|
4014 |
+
definition: the conversation
|
4015 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/f/f5/De-Gespr%C3%A4ch.ogg
|
4016 |
+
declension:
|
4017 |
+
- ["", singular, plural ]
|
4018 |
+
- [nominative, Gespräch, Gespräche ]
|
4019 |
+
- [genitive, "Gespräches, Gesprächs", Gespräche ]
|
4020 |
+
- [dative, Gespräch, Gesprächen]
|
4021 |
+
- [accusative, Gespräch, Gespräche ]
|
4022 |
+
- term: müde
|
4023 |
+
definition: (adj.) tired
|
4024 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/2/29/De-m%C3%BCde2.ogg
|
4025 |
+
- term: wecken
|
4026 |
+
definition: to wake up
|
4027 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/a/ad/De-wecken.ogg
|
4028 |
+
verbformen:
|
4029 |
+
video: https://youtu.be/ClEsAyY0sKU
|
4030 |
+
conjugation: https://www.verbformen.com/conjugation/wecken.pdf
|
4031 |
+
flashcards: https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/wecken.pdf
|
4032 |
+
- term: der Mond
|
4033 |
+
definition: the moon
|
4034 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/7/72/De-Mond.ogg
|
4035 |
+
declension:
|
4036 |
+
- ["", singular, plural]
|
4037 |
+
- [nominative, Mond, N/A ]
|
4038 |
+
- [genitive, "Mondes, Monds", N/A ]
|
4039 |
+
- [dative, Mond, N/A ]
|
4040 |
+
- [accusative, Mond, N/A ]
|
4041 |
+
- term: der Spaß
|
4042 |
+
definition:
|
4043 |
+
- (uncountable) the fun
|
4044 |
+
- (countable) the joke
|
4045 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/0/05/De-Spa%C3%9F.ogg
|
4046 |
+
declension:
|
4047 |
+
- ["", singular, plural]
|
4048 |
+
- [nominative, Spaß, Späße ]
|
4049 |
+
- [genitive, Spaßes, Späße ]
|
4050 |
+
- [dative, Spaß, Späßen]
|
4051 |
+
- [accusative, Spaß, Späße ]
|
4052 |
+
- term: weniger
|
4053 |
+
definition:
|
4054 |
+
- (adj.) less
|
4055 |
+
- (adv.) less
|
4056 |
+
- (mathematics) minus
|
4057 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/c/ce/De-weniger2.ogg
|
4058 |
+
- term: romantisch
|
4059 |
+
definition: (adj.) romantic
|
4060 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/0/01/Nl-romantisch.ogg
|
4061 |
+
- term: früher
|
4062 |
+
definition:
|
4063 |
+
- (adj.) former
|
4064 |
+
- (adj.) previous
|
4065 |
+
- (adj.) earlier
|
4066 |
+
- (adv.) formerly
|
4067 |
+
- (adv.) sooner
|
4068 |
|
4069 |
|
4070 |
|
|
|
5142 |
- [genitive, Genossen, Genossen]
|
5143 |
- [dative, Genossen, Genossen]
|
5144 |
- [accusative, Genossen, Genossen]
|
5145 |
+
- term: der Schein
|
5146 |
+
definition:
|
5147 |
+
- the shine
|
5148 |
+
- the flash
|
5149 |
+
- the appearance
|
5150 |
+
- the certificate
|
5151 |
+
- the ticket
|
5152 |
+
- the bill
|
5153 |
+
audio: https://upload.wikimedia.org/wikipedia/commons/f/f6/De-Schein.ogg
|
5154 |
+
declension:
|
5155 |
+
- ["", singular, plural ]
|
5156 |
+
- [nominative, Schein, Scheine ]
|
5157 |
+
- [genitive, "Scheines, Scheins", Scheine ]
|
5158 |
+
- [dative, Schein, Scheinen]
|
5159 |
+
- [accusative, Schein, Scheine ]
|
5160 |
- term: scheinen
|
5161 |
definition: to shine
|
5162 |
audio: https://upload.wikimedia.org/wikipedia/commons/3/3c/De-scheinen.ogg
|