QubitPi commited on
Commit
5a91775
·
unverified ·
1 Parent(s): fc82c3e

Add more German vocabularies (#139)

Browse files
german.yaml CHANGED
@@ -4173,7 +4173,7 @@ vocabulary:
4173
  definition: (adj.) Swedish
4174
  audio: https://upload.wikimedia.org/wikipedia/commons/4/49/De-schwedisch.ogg
4175
  - term: der Pulli
4176
- definition: the sweater
4177
  audio: https://upload.wikimedia.org/wikipedia/commons/2/2a/De-Pulli.ogg
4178
  declension:
4179
  - ["", singular, plural]
@@ -4200,9 +4200,7 @@ vocabulary:
4200
  - [dative, Tiergarten, Tiergärten]
4201
  - [accusative, Tiergarten, Tiergärten]
4202
  - term: die Klamotte
4203
- definition:
4204
- - the clothes
4205
- - the junk
4206
  audio: https://upload.wikimedia.org/wikipedia/commons/8/88/De-Klamotte.ogg
4207
  declension:
4208
  - ["", singular, plural ]
@@ -4254,15 +4252,18 @@ vocabulary:
4254
  definition: (adj.) high
4255
  audio: https://upload.wikimedia.org/wikipedia/commons/b/b0/De-hoch2.ogg
4256
  - term: überwiegen
4257
- definition:
4258
- - to outweigh
4259
- - to prevail
4260
  audio: https://upload.wikimedia.org/wikipedia/commons/5/5e/De-%C3%BCberwiegen.ogg
4261
  verbformen:
4262
  conjugation: https://www.verbformen.com/conjugation/u3ber=wiegen.pdf
4263
  flashcards: https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/u3ber=wiegen.pdf
 
 
 
 
 
4264
  - term: der Profi
4265
- definition: the pro
4266
  audio: https://upload.wikimedia.org/wikipedia/commons/7/70/De-Profi.ogg
4267
  declension:
4268
  - ["", singular, plural]
@@ -4277,6 +4278,11 @@ vocabulary:
4277
  video: https://youtu.be/aeFJ8iQ7sL8
4278
  conjugation: https://www.verbformen.com/conjugation/verdienen.pdf
4279
  flashcards: https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/verdienen.pdf
 
 
 
 
 
4280
  - term: engen
4281
  definition: to limit
4282
  audio: https://upload.wikimedia.org/wikipedia/commons/e/e7/De-engen.ogg
@@ -4284,13 +4290,7 @@ vocabulary:
4284
  conjugation: https://www.verbformen.com/conjugation/engen.pdf
4285
  flashcards: https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/engen.pdf
4286
  - term: der Gang
4287
- definition:
4288
- - the motion
4289
- - the gait
4290
- - way (someone talks)
4291
- - course (of events)
4292
- - hallway
4293
- - (machinery) gear
4294
  audio: https://upload.wikimedia.org/wikipedia/commons/4/4f/De-Gang.ogg
4295
  declension:
4296
  - ["", singular, plural]
 
4173
  definition: (adj.) Swedish
4174
  audio: https://upload.wikimedia.org/wikipedia/commons/4/49/De-schwedisch.ogg
4175
  - term: der Pulli
4176
+ definition: the pullover
4177
  audio: https://upload.wikimedia.org/wikipedia/commons/2/2a/De-Pulli.ogg
4178
  declension:
4179
  - ["", singular, plural]
 
4200
  - [dative, Tiergarten, Tiergärten]
4201
  - [accusative, Tiergarten, Tiergärten]
4202
  - term: die Klamotte
4203
+ definition: the clothes
 
 
4204
  audio: https://upload.wikimedia.org/wikipedia/commons/8/88/De-Klamotte.ogg
4205
  declension:
4206
  - ["", singular, plural ]
 
4252
  definition: (adj.) high
4253
  audio: https://upload.wikimedia.org/wikipedia/commons/b/b0/De-hoch2.ogg
4254
  - term: überwiegen
4255
+ definition: to predominate
 
 
4256
  audio: https://upload.wikimedia.org/wikipedia/commons/5/5e/De-%C3%BCberwiegen.ogg
4257
  verbformen:
4258
  conjugation: https://www.verbformen.com/conjugation/u3ber=wiegen.pdf
4259
  flashcards: https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/u3ber=wiegen.pdf
4260
+ - term: überwiegend
4261
+ definition:
4262
+ - (adj.) predominant
4263
+ - (adv.) predominantly
4264
+ audio: https://upload.wikimedia.org/wikipedia/commons/5/58/De-%C3%BCberwiegend.ogg
4265
  - term: der Profi
4266
+ definition: the professional
4267
  audio: https://upload.wikimedia.org/wikipedia/commons/7/70/De-Profi.ogg
4268
  declension:
4269
  - ["", singular, plural]
 
4278
  video: https://youtu.be/aeFJ8iQ7sL8
4279
  conjugation: https://www.verbformen.com/conjugation/verdienen.pdf
4280
  flashcards: https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/verdienen.pdf
4281
+ - term: eng
4282
+ definition:
4283
+ - (adj.) narrow
4284
+ - (adj.) tight
4285
+ audio: https://upload.wikimedia.org/wikipedia/commons/1/17/De-eng.ogg
4286
  - term: engen
4287
  definition: to limit
4288
  audio: https://upload.wikimedia.org/wikipedia/commons/e/e7/De-engen.ogg
 
4290
  conjugation: https://www.verbformen.com/conjugation/engen.pdf
4291
  flashcards: https://www.verbformen.com/conjugation/worksheets-exercises/lernkarten/engen.pdf
4292
  - term: der Gang
4293
+ definition: the pathway
 
 
 
 
 
 
4294
  audio: https://upload.wikimedia.org/wikipedia/commons/4/4f/De-Gang.ogg
4295
  declension:
4296
  - ["", singular, plural]
huggingface/vocabulary_parser.py CHANGED
@@ -183,8 +183,8 @@ def get_inferred_links(
183
 
184
  This function is the point of extending link inference capabilities. At this point, the link inference includes
185
 
186
- - :py:meth:`token sharing <wilhelm_data_loader.vocabulary_parser.get_inferred_tokenization_links>`
187
- - :py:meth:`token sharing <wilhelm_data_loader.vocabulary_parser.get_levenshtein_links>`
188
 
189
  :param vocabulary: A wilhelm-vocabulary repo YAML file deserialized
190
  :param label_key: The name of the node attribute that will be used as the label in displaying the node
@@ -332,7 +332,7 @@ def get_inferred_tokenization_links(
332
  def get_structurally_similar_links(vocabulary: list[dict], label_key: str) -> list[dict]:
333
  """
334
  Return a list of inferred links between structurally-related vocabulary terms that are determined by the function
335
- :py:meth:`token sharing <wilhelm_data_loader.vocabulary_parser.is_structurally_similar>`.
336
 
337
  This was inspired by the spotting the relationships among::
338
 
 
183
 
184
  This function is the point of extending link inference capabilities. At this point, the link inference includes
185
 
186
+ - :py:meth:`token sharing <huggingface.vocabulary_parser.get_inferred_tokenization_links>`
187
+ - :py:meth:`token sharing <huggingface.vocabulary_parser.get_levenshtein_links>`
188
 
189
  :param vocabulary: A wilhelm-vocabulary repo YAML file deserialized
190
  :param label_key: The name of the node attribute that will be used as the label in displaying the node
 
332
  def get_structurally_similar_links(vocabulary: list[dict], label_key: str) -> list[dict]:
333
  """
334
  Return a list of inferred links between structurally-related vocabulary terms that are determined by the function
335
+ :py:meth:`token sharing <huggingface.vocabulary_parser.is_structurally_similar>`.
336
 
337
  This was inspired by the spotting the relationships among::
338
 
requirements.txt CHANGED
@@ -4,7 +4,3 @@ wilhelm_data_loader
4
 
5
  pycodestyle
6
  isort
7
-
8
- behave
9
- neo4j
10
- PyHamcrest
 
4
 
5
  pycodestyle
6
  isort