File size: 25,565 Bytes
3020fbf
 
 
57f41c0
 
0e1a481
b8b313f
ba4818a
b8b313f
 
f677a33
b8b313f
 
 
 
 
 
 
 
 
 
64e53d2
b8b313f
 
 
 
f677a33
 
 
ba4818a
b8b313f
 
 
 
a1ff8d9
b8b313f
 
a16c6fa
 
 
2f00243
b793b5b
 
609945f
 
3020fbf
f677a33
 
 
 
 
a16c6fa
 
 
d88ad14
a16c6fa
 
a1ff8d9
b8b313f
a1ff8d9
 
 
a16c6fa
 
0cfcc98
d88ad14
e4b9faf
d88ad14
 
0cfcc98
d88ad14
 
 
3b9a460
b8b313f
 
 
 
 
 
 
f677a33
 
b8b313f
 
 
 
 
5eea884
b8b313f
5eea884
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3020fbf
88c27f5
d1d03ee
88c27f5
a16c6fa
8586810
d1d03ee
 
 
 
 
 
 
89f0c7f
d1d03ee
89f0c7f
d1d03ee
 
 
 
 
 
 
89f0c7f
3825c5b
89f0c7f
d1d03ee
89f0c7f
3825c5b
 
88c27f5
b8b313f
5eea884
b8b313f
 
3020fbf
 
5eea884
 
 
 
 
 
 
 
3020fbf
 
5eea884
 
 
 
 
 
 
 
6dd92f3
66f8466
 
5eea884
 
 
4481849
5eea884
66f8466
5eea884
 
 
b8b313f
e4b9faf
b8b313f
e4b9faf
 
 
 
 
 
 
 
 
 
 
64e53d2
 
 
 
8586810
 
 
 
 
 
64e53d2
 
b8b313f
e4b9faf
 
 
 
 
 
 
 
 
 
 
b8b313f
3b9a460
 
 
 
 
 
 
4f2eb1a
 
3b9a460
 
 
 
 
 
 
4f2eb1a
 
0cfcc98
3b9a460
e4b9faf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3b9a460
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8b313f
4481849
5eea884
 
 
 
 
6dd92f3
5eea884
e0cb465
320cfc5
 
 
 
e0cb465
5eea884
 
 
 
 
a0835f0
320cfc5
 
badf5d5
2a1483c
5eea884
531a63f
320cfc5
b2199f9
 
 
32c7b3a
b2199f9
531a63f
5eea884
531a63f
7492553
5eea884
320cfc5
531a63f
5eea884
 
 
320cfc5
7492553
 
cdb8f27
320cfc5
 
91d33d3
 
 
531a63f
b8b313f
3020fbf
f677a33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3020fbf
f677a33
 
 
cdb8f27
f677a33
 
 
 
cdb8f27
f677a33
 
 
cdb8f27
 
f677a33
cdb8f27
 
 
 
 
 
 
 
 
f677a33
cdb8f27
 
 
 
 
 
 
f677a33
cdb8f27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ba4818a
cdb8f27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f677a33
 
 
 
ba4818a
 
f677a33
 
 
 
 
cdb8f27
 
f677a33
 
cdb8f27
f677a33
 
 
 
 
 
 
 
 
cdb8f27
 
77ddc55
cdb8f27
 
f677a33
cdb8f27
f677a33
 
cdb8f27
f677a33
 
 
 
 
 
 
 
 
 
 
 
 
 
cdb8f27
c57a92b
b8b313f
3020fbf
2f00243
 
 
 
 
0e1a481
b8b313f
f96350d
 
 
 
b8b313f
d63287c
 
 
 
 
 
 
609945f
 
 
 
 
 
d63287c
 
cdb8f27
d63287c
 
 
 
 
0e1a481
 
 
 
 
 
57f41c0
0e1a481
57f41c0
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
Wilhelm Vocabulary
==================

[![GitHub workflow status badge][GitHub workflow status badge]][GitHub workflow status URL]
[![Apache License Badge]][Apache License, Version 2.0]

<!-- TOC -->

- [Wilhelm Vocabulary](#wilhelm-vocabulary)
  - [Data Format](#data-format)
  - [Data Pipeline](#data-pipeline)
  - [How Data (Vocabulary) is Stored in a Graph Database](#how-data-vocabulary-is-stored-in-a-graph-database)
    - [Why Graph Database](#why-graph-database)
    - [Definition](#definition)
    - [Inflections](#inflections)
  - [Languages](#languages)
    - [German](#german)
      - [YAML Schema](#yaml-schema)
      - [German Declension](#german-declension)
        - [Noun Declension Templates](#noun-declension-templates)
          - [Masculine](#masculine)
          - [Feminine](#feminine)
          - [Neuter](#neuter)
        - [German (Attributive) Adjective Declension](#german-attributive-adjective-declension)
      - [German Conjugation](#german-conjugation)
    - [Ancient Greek](#ancient-greek)
      - [Diacritic Mark Convention](#diacritic-mark-convention)
      - [Greek YAML Schema](#greek-yaml-schema)
      - [Greek Noun](#greek-noun)
      - [Greek Verb](#greek-verb)
    - [Latin](#latin)
    - [Classical Hebrew (Coming Soon)](#classical-hebrew-coming-soon)
    - [Korean](#korean)
  - [License](#license)

<!-- TOC -->

Data Format
-----------

The data that serves [wilhelmlang.com](https://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 read and modify
3. it supports multi-lines value which is very handy for language data

Data Pipeline
-------------

![Data pipeline](data-pipeline.png "Error loading data-loading.png")

How Data (Vocabulary) is Stored in a Graph Database
---------------------------------------------------

### Why Graph Database

Graph data representation assumes universal connectivity among world entities. This applies pretty well to the realm of
languages. Multilanguage learners have already seen that Indo-European languages are similar in many aspects. The
similarities not only signify the historical facts about Philology but also surface a great opportunity for
multilanguage learners to take advantages of them and study much more efficiently. What's missing is connecting the dots
using Graph Databases that visually presents these vastly enlightening links between the related languages in a natural
way.

### Definition

_The meaning of a word is called the `definition`_. A term has a natural relationship to its definition(s). For example,
the German noun "[Ecke](https://en.wiktionary.org/wiki/Ecke#Noun)" has at least 4 definitions:

![Relationship between term and defintion(s)](./definition.png "Error loading definition.png")

<div align="center">
    Graph data generated by <a href="https://github.com/QubitPi/wilhelm-python-sdk">wilhelm-python-sdk</a>
</div>

### Inflections

Indo-European languages are mostly inflected. The way inflections are encoded are documented for each language
separately:

- [German declension](#german-declension)
- [German conjugation](#german-conjugation)
- [Ancient Greek declension](#greek-declension)
- [Ancient Greek conjugation](#greek-conjugation)

Languages
---------

### [German](./german.yaml)

#### YAML Schema

```yaml
vocabulary:
  - term: string
    definition: list
    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

      ```yaml
        - 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,

      ```yaml
        - term: ob
          definition:
            - (conj.) if
            - (conj.) whether
      ```

      means "ob" is a **conjunction** in this case and

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

      tells that "denn" can be __adverb__ or __conjunction__

> [!TIP]
>
> 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 `definition` in graph database loaded by
> [Wilhelm SDK](https://github.com/QubitPi/wilhelm-python-sdk). For example, both German words
>
> ```yaml
> - term: denn
>   definition:
>     - (adv.) then, thus
>     - (conj.) because
> ```
>
> and
>
> ```yaml
>  - 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](./example.png)
>
> __Visualzing synonyms this way presents a big advantage to human brain__ who is exceedingly good at memorizing
> patterns

#### German Declension

The declension table employees an [application-specific YAML](https://stackoverflow.com/q/30894438/14312712) that looks
like the following:

```yaml
  - 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   |

> [!NOTE]
>
> - 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

> [!TIP]
>
> __The declension tables for all nouns are sourced from
> [Wiktionary](https://en.wiktionary.org/wiki/ein#Declension_2)__

##### Noun Declension Templates

###### Masculine

```yaml
    declension:
      - ["",         singular, singular, singular, plural, plural]
      - ["",         indef.,   def.,     noun,     def.,   noun  ]
      - [nominative, ein,      der,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, die,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [genitive,   eines,    des,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, der,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [dative,     einem,    dem,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, den,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [accusative, einen,    den,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, die,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
```

###### Feminine

```yaml
    declension:
      - ["",         singular, singular, singular, plural, plural]
      - ["",         indef.,   def.,     noun,     def.,   noun  ]
      - [nominative, eine,     die,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, die,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [genitive,   einer,    der,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, der,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [dative,     einer,    der,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, den,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [accusative, eine,     die,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, die,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
```

###### Neuter

```yaml
    declension:
      - ["",         singular, singular, singular, plural, plural]
      - ["",         indef.,   def.,     noun,     def.,   noun  ]
      - [nominative, ein,      das,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, die,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [genitive,   eines,    des,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, der,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [dative,     einem,    dem,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, den,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - [accusative, ein,      das,      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, die,    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
```

##### German (Attributive) Adjective Declension

> [!TIP]
>
> - Predicate adjectives (e.g. kalt in mir ist kalt "I am _cold_") are undeclined
> - An adjective can both be predicative (a _brave_ boy) or attributive (The boy is _brave_). Only attributive
>   adjectives are declined.

There are 3 types of declensions for German adjectives

1. [strong declension](https://en.wikipedia.org/wiki/German_declension#Strong_inflection),
2. [week declension](https://en.wikipedia.org/wiki/German_declension#Weak_inflection), and
3. [mixed declension](https://en.wikipedia.org/wiki/German_declension#Mixed_inflection)

Each type bears a separate declension table. __To master German adjectives, we will need to memorize all of the three__.

There is also [adjective comparison](https://en.wikipedia.org/wiki/German_adjectives#Adjective_comparison) which throws
in potentially 6 more tables. But the
[rules for comparative and superlative forms are quite universal](https://www.reddit.com/r/German/comments/i5mfrq/how_do_you_remember_adjective_declension/)
so we __ignore the two and focus only on the positive form__, which is the basic form of the adjective.

The [template](https://www.jetbrains.com/help/idea/generate-custom-code-constructs-using-live-templates.html) of the
adjective is as follows:

```yaml
    declension:
      - strong declension (without article)
        - ["",         singular,  singular, singular, plural]
        - ["",         masculine, feminine, neuter,   ""    ]
        - [nominative, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
        - [genitive,   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
        - [dative,     โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
        - [accusative, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
      - weak declension (with definite article)
        - ["",         singular,  singular, singular, plural]
        - ["",         masculine, feminine, neuter,   ""    ]
        - [nominative, der โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, die โ–ˆโ–ˆโ–ˆโ–ˆ, das โ–ˆโ–ˆโ–ˆ,  die โ–ˆโ–ˆ]
        - [genitive,   des โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, der โ–ˆโ–ˆโ–ˆโ–ˆ, des โ–ˆโ–ˆโ–ˆ,  der โ–ˆโ–ˆ]
        - [dative,     dem โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, der โ–ˆโ–ˆโ–ˆโ–ˆ, dem โ–ˆโ–ˆโ–ˆ,  den โ–ˆโ–ˆ]
        - [accusative, den โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, die โ–ˆโ–ˆโ–ˆโ–ˆ, das โ–ˆโ–ˆโ–ˆ,  die โ–ˆโ–ˆ]
      - mixed declension (with indefinite article)
        - ["",         singular,  singular, singular, plural        ]
        - ["",         masculine, feminine, neuter,   ""            ]
        - [nominative, ein โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, eine โ–ˆโ–ˆโ–ˆ, ein โ–ˆโ–ˆโ–ˆ,  (keine)  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
        - [genitive,   eines โ–ˆโ–ˆโ–ˆ, einer โ–ˆโ–ˆ, eines โ–ˆ,  (keiner) โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
        - [dative,     einem โ–ˆโ–ˆโ–ˆ, einer โ–ˆโ–ˆ, einem โ–ˆ,  (keinen) โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
        - [accusative, einen โ–ˆโ–ˆโ–ˆ, eine โ–ˆโ–ˆโ–ˆ, ein โ–ˆโ–ˆโ–ˆ,  (keine)  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]
```

Here is an example of the adjective declension for
"[unterschiedlich](https://en.wiktionary.org/wiki/unterschiedlich#Declension)":

```yaml
  - term: unterschiedlich
    definition: (adj.) different
    declension:
      - strong declension (without article):
        - ["",         singular,          singular,          singular,          plural           ]
        - ["",         masculine,         feminine,          neuter,            ""               ]
        - [nominative, unterschiedlicher, unterschiedliche,  unterschiedliches, unterschiedliche ]
        - [genitive,   unterschiedlichen, unterschiedlicher, unterschiedlichen, unterschiedlicher]
        - [dative,     unterschiedlichem, unterschiedlicher, unterschiedlichem, unterschiedlichen]
        - [accusative, unterschiedlichen, unterschiedliche,  unterschiedliches, unterschiedliche ]
      - weak declension (with definite article):
        - ["",         singular,              singular,              singular,              plural               ]
        - ["",         masculine,             feminine,              neuter,                ""                   ]
        - [nominative, der unterschiedliche,  die unterschiedliche,  das unterschiedliche,  die unterschiedlichen]
        - [genitive,   des unterschiedlichen, der unterschiedlichen, des unterschiedlichen, der unterschiedlichen]
        - [dative,     dem unterschiedlichen, der unterschiedlichen, dem unterschiedlichen, den unterschiedlichen]
        - [accusative, den unterschiedlichen, die unterschiedliche,  das unterschiedliche,  die unterschiedlichen]
      - mixed declension (with indefinite article):
        - ["",         singular,                singular,                singular,                plural                    ]
        - ["",         masculine,               feminine,                neuter,                  ""                        ]
        - [nominative, ein unterschiedlicher,   eine unterschiedliche,   ein unterschiedliches,   (keine) unterschiedlichen ]
        - [genitive,   eines unterschiedlichen, einer unterschiedlichen, eines unterschiedlichen, (keiner) unterschiedlichen]
        - [dative,     einem unterschiedlichen, einer unterschiedlichen, einem unterschiedlichen, (keinen) unterschiedlichen]
        - [accusative, einen unterschiedlichen, eine unterschiedliche,   ein unterschiedliches,   (keine) unterschiedlichen ]
```

> [!TIP]
>
> __The declension tables for all adjectives are sourced from
> [Wiktionary](https://en.wiktionary.org/wiki/unterschiedlich#Declension)__

#### German 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](https://en.wikipedia.org/wiki/Germanic_strong_verb)[^1]. In addition,
[strong verbs are grouped into 7 "classes"](https://en.wikipedia.org/wiki/Germanic_strong_verb#Strong_verb_classes)

[^1]: https://en.wikipedia.org/wiki/German_verbs#Conjugation

The conjugation table of German verb on Wiktionary is hard to interpret for German beginner. 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,

```yaml
  - 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.

> [!IMPORTANT]
> I'm not advertising for any organizations. I'm simply sharing good resources.

[Netzverb Dictionary](https://www.verbformen.com/) is the best German dictionary _targeting the vocabulary inflections_.
[Search for "aufwachsen"](https://www.verbformen.com/?w=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](https://www.verbformen.com/conjugation/aufwachsen.pdf)

   - There is also a "Sentences with German verb aufwachsen" section with a
     [link](https://www.verbformen.com/conjugation/examples/aufwachsen.htm) that offer a fruitful number of conjugated
     examples getting us familiar with the inflections of the verb

2. [An on-the-fly generated flashcard sheet](https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/aufwachsen.pdf)
   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](https://www.youtube.com/watch?v=LCtUrSn030A),
   which helps with pronunciations a lot

> [!TIP]
>
> - __It is, thus, strongly recommended to study the conjugation through
>   [Netzverb Dictionary](https://www.verbformen.com/) separately__
> - Netzverb Dictionary, however, lacks a programmable API. Wiktionary [has a good one](https://dumps.wikimedia.org/)
>   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

### [Ancient Greek](./greek.yaml)

> [!TIP]
>
> [Wiktionary](https://en.wiktionary.org/wiki/%CE%B1%E1%BD%90%CF%84%CF%8C%CF%82#Pronunciation) and
> [Logos Bible Study Platform](https://www.youtube.com/@logosbiblesoftware/search?query=Greek) are the best sources as
> pronunciation guides. Due to the scarcity of the audio resources among AG lerners, [a separate project](https://github.com/QubitPi/ancient-greek-reader) has been
> initiated to expand the audio practice materials by AI

[Ancient Greek is still an under-attesting language](https://latin.stackexchange.com/a/17432), what that means is no
textbook is "complete". One will frequently see a certain grammar does not apply to or some inflections are missing for
a word. Therefore, the best strategy to make inflection data of Ancient Greek is to crawl the entire inflection table of
every word. This would be impractical manually but practical automatically using
[wilhelm-python-sdk](https://github.com/QubitPi/wilhelm-python-sdk). The sections below will make references to the
certain parts of SDK.

#### Diacritic Mark Convention

We employ the following 3 diacritic signs only in vocabulary:

1. the __acute__ (ฮฌ)
2. the __circumflex__ (แพถ), and
3. the __grave__ (แฝฐ)

In fact, it is called the [_medium diacritics_](https://lsj.gr/wiki/%E1%BC%80%CE%B3%CE%B1%CE%B8%CF%8C%CF%82)  and the
same convention used in [Loeb Classical Library prints](https://ryanfb.xyz/loebolus/) from Harvard. Notice that,
however, the commonly sourced [Wiktionary uses full diacritics](https://en.wiktionary.org/wiki/%E1%BC%80%CE%B3%CE%B1%CE%B8%CF%8C%CF%82#Declension),
including the [breve diacritic mark](https://en.wikipedia.org/wiki/Breve); we don't do that.

#### Greek YAML Schema

#### Greek Noun

The vocabulary entry for each noun consists of its nominative and genitive forms, an article which indicates the noun's
gender, and the English meaning. For example.

```yaml
  - term: ฯ„ฮญฯ‡ฮฝฮท ฯ„ฮญฯ‡ฮฝฮทฯ‚, แผก
    definition:
      - art,
      - skill,
      - craft
```

the vocabulary entry above consists of the following 4 items:

1. ฯ„ฮญฯ‡ฮฝฮท: nominative singular
2. ฯ„ฮญฯ‡ฮฝฮทฯ‚: genitive singular
3. แผก: nominative feminine singular of the article, which shows that the gender of the noun is feminine
4. a list of English meanings of the word

The declension of the entry is not shown because to decline any noun, we can take the genitive singular, remove the
genitive singular ending to get the stem, and then add the proper set of endings to the stem based on its declension
class[^2].

[^2]: _[Greek: An Intensive Course, 2nd Revised Edition](https://www.amazon.com/Greek-Intensive-Course-2nd-Revised/dp/0823216632)_, Hansen & Quinn, _p.20_

For example, to decline _ฯ„ฮญฯ‡ฮฝฮท ฯ„ฮญฯ‡ฮฝฮทฯ‚, แผก, art_, take the genitive singular _ฯ„ฮญฯ‡ฮฝฮทฯ‚_, remove the genitive singular ending
_-ฮทฯ‚_, and add the appropriate endings to the stem which gives following paradigm:

|    Case    | Singular | Plural  |
|:----------:|:--------:|:-------:|
| nominative |  ฯ„ฮญฯ‡ฮฝฮท   | ฯ„ฮญฯ‡ฮฝฮฑฮน  |
|  genitive  |  ฯ„ฮญฯ‡ฮฝฮทฯ‚  | ฯ„ฮตฯ‡ฮฝแฟถฮฝ  |
|   dative   |  ฯ„ฮญฯ‡ฮฝแฟƒ   | ฯ„ฮญฯ‡ฮฝฮฑฮนฯ‚ |
| accusative |  ฯ„ฮญฯ‡ฮฝฮทฮฝ  | ฯ„ฮญฯ‡ฮฝแพฑฯ‚  |
|  vocative  |  ฯ„ฮญฯ‡ฮฝฮท   | ฯ„ฮญฯ‡ฮฝฮฑฮน  |

#### Greek Verb

The Greek verb has __6__ principal parts. All 6 must be learned whenever a new verb is encountered:

1. (first person singular) present indicative active
2. (first person singular) future indicative active
3. (first person singular) aorist indicative active
4. (first person singular) perfect indicative active
5. (first person singular) perfect indicative passive
6. (first person singular) aorist indicative passive

> [!TIP]
>
> The minimum number of forms which one must know in order to generate all possible forms of a verb are called the
> __principal parts__ of that verb.

From the 6 forms above, various verb forms (i.e. stems & endings) can be derived by rules[^4]

[^4]: _[Greek: An Intensive Course, 2nd Revised Edition](https://www.amazon.com/Greek-Intensive-Course-2nd-Revised/dp/0823216632)_, Hansen & Quinn, _p.44_

In practice, however,
[obtaining precise and complete principal parts for some verbs has been proven to be impossible](https://latin.stackexchange.com/a/17432).
While the best efforts have been made for reconstructing the complete principal parts, we also put a link to the
Wiktionary of each verb for
[wilhelm-python-sdk](https://sdk.wilhelmlang.com/en/latest/#module-wilhelm_python_sdk.ancient_greek_wiktionary_parser),
which will dynamically load the complete conjugation tables into graph database.

What's also being loaded are the reconstructed principal parts with a list of references that validate the
reconstruction.

In conclusion, the entry of a verb, thus, has the form of:

```yaml
  - term: string
    definition: list
    conjugation:
      - wiktionary: string
      - ["",                                                 Attic, (Possibly other dialects)]
      - [(first person singular) present indicative active,  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, ...                      ]
      - [(first person singular) future indicative active,   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, ...                      ]
      - [(first person singular) aorist indicative active,   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, ...                      ]
      - [(first person singular) perfect indicative active,  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, ...                      ]
      - [(first person singular) perfect indicative passive, โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, ...                      ]
      - [(first person singular) aorist indicative passive,  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ, ...                      ]
      - references: list
```

For example:

```yaml
  - term: ฮปฮญฮณฯ‰
    definition:
      - to say, speak
      - to pick up
    conjugation:
      - wiktionary: https://en.wiktionary.org/wiki/ฮปฮญฮณฯ‰#Verb_2
      - ["",                                                 Attic    , Koine          ]
      - [(first person singular) present indicative active,  ฮปฮญฮณฯ‰     , ฮปฮญฮณฯ‰           ]
      - [(first person singular) future indicative active,   ฮปฮญฮพฯ‰     , แผฯแฟถ            ]
      - [(first person singular) aorist indicative active,   แผ”ฮปฮตฮพฮฑ    , ฮตแผถฯ€ฮฟฮฝ/ฮตแผถฯ€ฮฑ     ]
      - [(first person singular) perfect indicative active,  (missing), ฮตแผดฯฮทฮบฮฑ         ]
      - [(first person singular) perfect indicative passive, ฮปฮญฮปฮตฮณฮผฮฑฮน , ฮปฮญฮปฮตฮณฮผฮฑฮน       ]
      - [(first person singular) aorist indicative passive,  แผฮปฮญฯ‡ฮธฮทฮฝ  , แผฯฯฮญฮธฮทฮฝ/แผฯฯฮฎฮธฮทฮฝ]
      - references:
          - https://en.wiktionary.org/wiki/ฮปฮญฮณฯ‰#Inflection
          - http://atticgreek.org/downloads/allPPbytypes.pdf
          - https://books.openbookpublishers.com/10.11647/obp.0264/ch25.xhtml
          - https://www.billmounce.com/greek-dictionary/lego
          - https://koine-greek.fandom.com/wiki/ฮ›ฮญฮณฯ‰
```

### [Latin](./latin.yaml)

```yaml
vocabulary:
  - term: string
    definition: list
```

### Classical Hebrew (Coming Soon)

The vocabulary is presented to help read and understand [Biblical Hebrew](https://mechon-mamre.org/p/pt/pt00.htm#mp3). A
[complementary audio](https://mechon-mamre.org/p/pt/ptmp3prq.htm) helps well with the pronunciation.

### [Korean](./korean.yaml)

ไธญๅ›ฝไบบๅญฆไน ้Ÿฉ่ฏญๆœ‰ๅ…ˆๅคฉไผ˜ๅŠฟ๏ผŒๅŠ ไน‹้Ÿฉ่ฏญๆœฌ่บซไนŸๆ˜ฏไธ€้—จ็›ธๅฝ“็ฎ€ๅ•็š„่ฏญ่จ€๏ผŒๆ‰€ไปฅ่ฟ™้‡Œๅฐ†่ฏญๆณ•ๅ’Œ่ฏๆฑ‡ๅˆๅนถๅœจไธ€่ตท๏ผ›
ๆฏไธ€้กนไนŸๅช็”ฑ `term`๏ผˆ้Ÿฉ๏ผ‰ๅ’Œ `definition`๏ผˆไธญ๏ผ‰็ป„ๆˆ๏ผŒ

```yaml
vocabulary:
  - term: string
    definition: list of strings
    example:
      - Korean: ์ œ๊ฐ€ ์•„๋ฌด๋ ด ๊ทธ์ชฝ ํŽธ์— ์„œ๊ฒ ์–ด์š”
        Chinese: ๆˆ‘ๆ— ่ฎบๅฆ‚ไฝ•้ƒฝไผš็ซ™ๅœจไฝ ่ฟ™่พน
      - Korean: ...
        Chinese: ...
```

ไธ็”จ่ดนๅคชๅคšๅŠŸๅคซ่ฎฐ็‰ข็ฎ€ๅ•็š„่ฏญๆณ•ๅ’Œ่ฏๆฑ‡๏ผŒๅ‰ฉไธ‹็š„ๅฐฑๆ˜ฏๆ‹ฟ้Ÿฉ่ฏญๅญ—ๅน•ๅ‰งไธๅœ็ปƒไน ๅฌ่ฏด่ฏปๅ†™ๆ—ขๆˆใ€‚`example` ไธญ็š„ไพ‹ๅฅๅ‡ๆฅ่‡ช[้Ÿฉๅ›ฝๆœฌๅœŸ่ฏญๆ–™](https://www.amazon.com/Korean-book-%EB%82%98%EC%9D%98-%EC%95%84%EC%A0%80%EC%94%A8-%EC%A0%842%EA%B6%8C/dp/8933871756)

> [!NOTE]
>
> ้Ÿฉ่ฏญไธๅฑžไบŽๆฑ‰่—่ฏญ็ณป๏ผŒๅ› ๅ…ถๆ‰€ๅฑž่ฏญ็ณป้žๅธธ็‹ญๅฐ๏ผŒๆ— ๆณ•ๅ’Œๅ…ถๅฎƒ่ฏญ่จ€ไบง็”Ÿ่ถณๅคŸๅ…ณ่”๏ผŒๅ› ๆญคๅ…ถๆ•ฐๆฎๆš‚ๆ—ถไธ่ขซๅญ˜ๅ…ฅๅ›พๆ•ฐๆฎๅบ“่ฟ›่กŒๆ•ฐๆฎๅˆ†ๆž

License
-------

The use and distribution terms for [wilhelm-vocabulary]() are covered by the [Apache License, Version 2.0].

[Apache License Badge]: https://img.shields.io/badge/Apache%202.0-F25910.svg?style=for-the-badge&logo=Apache&logoColor=white
[Apache License, Version 2.0]: https://www.apache.org/licenses/LICENSE-2.0

[GitHub workflow status badge]: https://img.shields.io/github/actions/workflow/status/QubitPi/wilhelm-vocabulary/ci-cd.yaml?branch=master&style=for-the-badge&logo=github&logoColor=white&label=Database%20Loading
[GitHub workflow status URL]: https://github.com/QubitPi/wilhelm-vocabulary/actions/workflows/ci-cd.yaml