File size: 3,249 Bytes
3020fbf 0e1a481 2f00243 b793b5b 3020fbf 88c27f5 d1d03ee 88c27f5 d1d03ee 89f0c7f d1d03ee 89f0c7f d1d03ee 89f0c7f d1d03ee 89f0c7f d1d03ee 89f0c7f c8a8b34 88c27f5 7a25d79 3020fbf a0835f0 e0cb465 6dd92f3 e0cb465 6dd92f3 e0cb465 6dd92f3 a0835f0 6dd92f3 badf5d5 7a25d79 3020fbf 2f00243 3020fbf 7a25d79 3020fbf 2f00243 3020fbf 7a25d79 3020fbf 2f00243 0e1a481 bcadcd0 |
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 |
Wilhelm Vocabulary
==================
![GitHub last commit badge][GitHub last commit]
![GitHub workflow status badge][GitHub workflow status]
[![Apache License Badge]](https://www.apache.org/licenses/LICENSE-2.0)
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 modify
3. it supports multi-lines value which is very handy for data of natural languages
YAML Schema
-----------
> [!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 `defintion` in graph database loaded by
> [Wilhelm SDK](https://github.com/QubitPi/wilhelm-graphdb-python). For example, both
>
> ```yaml
> - term: denn
> definition:
> - (adv.) then, thus
> - (conj.) because
> ```
>
> and
>
> ```yaml
> - term: nämlich
> definition:
> - (adj.) same
> - (adv.) namely
> - (adv.) because
> ```
>
> are linked to "because" visually as follows:
>
> ![error loading example.png](./example.png)
>
> which says both "denn" and "nämlich" can mean "because" when the former acts as a _conjunction_ while the latter goes
> as an _adverb_
### [German](./german.yaml)
```yaml
vocabulary:
- term: string
definition: list
plural: string
declension/conjugation: string
```
- 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" and a field of `plural` that comes with it signifies a
__noun__
- Those with `conjugation` field denotes a __verb__; its definition also begins with "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
```yaml
- term: denn
definition:
- (adv.) then, thus
- (conj.) because
```
tells that "denn" can be both an __adverb__ or __conjunction__
### [Korean](./korean.yaml)
```yaml
vocabulary:
- term: string
definition: list
```
### [Ancient Greek](./greek.yaml)
```yaml
vocabulary:
- term: string
definition: list
```
### [Latin](./latin.yaml)
```yaml
vocabulary:
- term: string
definition: list
```
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]: http://www.apache.org/licenses/LICENSE-2.0.html
[GitHub last commit]: https://img.shields.io/github/last-commit/QubitPi/wilhelm-vocabulary/master?logo=github&style=for-the-badge
[GitHub workflow status]: https://img.shields.io/github/actions/workflow/status/QubitPi/wilhelm-vocabulary/ci-cd.yaml?branch=master&logo=github&style=for-the-badge
|