QubitPi commited on
Commit
92f0a3d
1 Parent(s): eb77bf5

Add more German vocabulary (#24)

Browse files
Files changed (3) hide show
  1. .github/workflows/ci-cd.yaml +35 -8
  2. README.md +8 -1
  3. german.yaml +6 -8
.github/workflows/ci-cd.yaml CHANGED
@@ -21,15 +21,42 @@ name: CI/CD
21
  - master
22
 
23
  jobs:
24
- yml-md-style-and-link-checks:
25
- uses: QubitPi/hashistack/.github/workflows/yml-md-style-and-link-checks.yml@master
26
- with:
27
- use-custom-lycheeignore-file: true
28
- use-custom-yamllint-config-file: true
29
- use-custom-markdownlint-config-file: true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
  tests:
32
- needs: yml-md-style-and-link-checks
33
  runs-on: ubuntu-latest
34
  strategy:
35
  fail-fast: false
@@ -74,7 +101,7 @@ jobs:
74
 
75
  docker:
76
  name: Test Docker build and publish image to DockerHub
77
- needs: yml-md-style-and-link-checks
78
  runs-on: ubuntu-latest
79
  steps:
80
  - uses: actions/checkout@v3
 
21
  - master
22
 
23
  jobs:
24
+ cancel-previous:
25
+ name: Cancel Previous Runs In Order to Allocate Action Resources Immediately for Current Run
26
+ if: github.ref == 'refs/heads/master'
27
+ runs-on: ubuntu-latest
28
+ steps:
29
+ - name: Cancel previous
30
+ uses: styfle/cancel-workflow-action@0.10.1
31
+ with:
32
+ access_token: ${{ github.token }}
33
+
34
+ yaml-lint:
35
+ name: YAML Style Check
36
+ runs-on: ubuntu-latest
37
+ steps:
38
+ - uses: actions/checkout@v3
39
+ - uses: actionshub/yamllint@main
40
+
41
+ markdown-lint:
42
+ name: Markdown Style Check
43
+ runs-on: ubuntu-latest
44
+ steps:
45
+ - uses: actions/checkout@v3
46
+ - uses: actionshub/markdownlint@main
47
+
48
+ linkChecker:
49
+ name: Link Check
50
+ runs-on: ubuntu-latest
51
+ steps:
52
+ - uses: actions/checkout@v3
53
+ - name: Link Checker
54
+ uses: lycheeverse/lychee-action@v1.9.0
55
+ with:
56
+ fail: true
57
 
58
  tests:
59
+ needs: [yaml-lint, markdown-lint, linkChecker]
60
  runs-on: ubuntu-latest
61
  strategy:
62
  fail-fast: false
 
101
 
102
  docker:
103
  name: Test Docker build and publish image to DockerHub
104
+ needs: [yaml-lint, markdown-lint, linkChecker]
105
  runs-on: ubuntu-latest
106
  steps:
107
  - uses: actions/checkout@v3
README.md CHANGED
@@ -2,9 +2,12 @@ Wilhelm Vocabulary
2
  ==================
3
 
4
  [![GitHub workflow status badge][GitHub workflow status badge]][GitHub workflow status URL]
 
 
 
5
  [![Docker Hub][Docker Pulls Badge]][Docker Hub URL]
6
- [![Hugging Face dataset badge]][Hugging Face dataset URL]
7
  [![Hugging Face sync status badge]][Hugging Face sync status URL]
 
8
  [![Apache License Badge]][Apache License, Version 2.0]
9
 
10
  <!-- TOC -->
@@ -490,3 +493,7 @@ The use and distribution terms for [wilhelm-vocabulary]() are covered by the [Ap
490
 
491
  [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
492
  [GitHub workflow status URL]: https://github.com/QubitPi/wilhelm-vocabulary/actions/workflows/ci-cd.yaml
 
 
 
 
 
2
  ==================
3
 
4
  [![GitHub workflow status badge][GitHub workflow status badge]][GitHub workflow status URL]
5
+ [![Vocabulary count - German]][Docker Hub URL]
6
+ [![Vocabulary count - Latin]][Docker Hub URL]
7
+ [![Vocabulary count - Ancient Greek]][Docker Hub URL]
8
  [![Docker Hub][Docker Pulls Badge]][Docker Hub URL]
 
9
  [![Hugging Face sync status badge]][Hugging Face sync status URL]
10
+ [![Hugging Face dataset badge]][Hugging Face dataset URL]
11
  [![Apache License Badge]][Apache License, Version 2.0]
12
 
13
  <!-- TOC -->
 
493
 
494
  [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
495
  [GitHub workflow status URL]: https://github.com/QubitPi/wilhelm-vocabulary/actions/workflows/ci-cd.yaml
496
+
497
+ [Vocabulary count - German]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.paion-data.dev%2Fwilhelm%2Flanguages%2Fgerman%2Fcount&query=%24%5B0%5D.count&suffix=%20Nodes&style=for-the-badge&logo=neo4j&logoColor=white&label=German&color=4581C3
498
+ [Vocabulary count - Latin]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.paion-data.dev%2Fwilhelm%2Flanguages%2Flatin%2Fcount&query=%24%5B0%5D.count&suffix=%20Nodes&style=for-the-badge&logo=neo4j&logoColor=white&label=Latin&color=4581C3
499
+ [Vocabulary count - Ancient Greek]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.paion-data.dev%2Fwilhelm%2Flanguages%2FancientGreek%2Fcount&query=%24%5B0%5D.count&suffix=%20Nodes&style=for-the-badge&logo=neo4j&logoColor=white&label=Ancient%20Greek&color=4581C3
german.yaml CHANGED
@@ -634,11 +634,11 @@ vocabulary:
634
  - term: die Nähe
635
  definition: vicinity
636
  declension:
637
- - ["", singular, singular]
638
- - [nominative, die, Nähe ]
639
- - [genitive, der, Nähe ]
640
- - [dative, der, Nähe ]
641
- - [accusative, die, Nähe ]
642
  - term: in der Nähe von ...
643
  definition: near
644
  - term: auch
@@ -1889,7 +1889,7 @@ vocabulary:
1889
  - term: ach so
1890
  definition: I see
1891
  - term: der Beruf
1892
- definition: job
1893
  declension:
1894
  - ["", singular, plural ]
1895
  - [nominative, Beruf, Berufe ]
@@ -2636,8 +2636,6 @@ vocabulary:
2636
  definition: Where are you going?
2637
  - term: zeigen
2638
  definition: to show
2639
- - term: Statistiken zeigen es
2640
- definition: Statistics show it
2641
  - term: doch
2642
  definition:
2643
  - (adv.) really
 
634
  - term: die Nähe
635
  definition: vicinity
636
  declension:
637
+ - ["", singular, plural]
638
+ - [nominative, Nähe , N/A ]
639
+ - [genitive, Nähe , N/A ]
640
+ - [dative, Nähe , N/A ]
641
+ - [accusative, Nähe , N/A ]
642
  - term: in der Nähe von ...
643
  definition: near
644
  - term: auch
 
1889
  - term: ach so
1890
  definition: I see
1891
  - term: der Beruf
1892
+ definition: the job
1893
  declension:
1894
  - ["", singular, plural ]
1895
  - [nominative, Beruf, Berufe ]
 
2636
  definition: Where are you going?
2637
  - term: zeigen
2638
  definition: to show
 
 
2639
  - term: doch
2640
  definition:
2641
  - (adv.) really