GameSentenceMiner 2.6.1__py3-none-any.whl → 2.6.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- GameSentenceMiner/anki.py +1 -3
- {gamesentenceminer-2.6.1.dist-info → gamesentenceminer-2.6.2.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.6.1.dist-info → gamesentenceminer-2.6.2.dist-info}/RECORD +7 -7
- {gamesentenceminer-2.6.1.dist-info → gamesentenceminer-2.6.2.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.6.1.dist-info → gamesentenceminer-2.6.2.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.6.1.dist-info → gamesentenceminer-2.6.2.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.6.1.dist-info → gamesentenceminer-2.6.2.dist-info}/top_level.txt +0 -0
GameSentenceMiner/anki.py
CHANGED
@@ -71,9 +71,7 @@ def update_anki_card(last_note: AnkiCard, note=None, audio_path='', video_path='
|
|
71
71
|
translation = translate_with_context(get_all_lines(), sentence_to_translate,
|
72
72
|
game_line.index, get_current_game())
|
73
73
|
logger.info(translation)
|
74
|
-
note['fields'][
|
75
|
-
else:
|
76
|
-
logger.error("Invalid note object. Cannot update SentenceMeaning.")
|
74
|
+
note['fields'][get_config().ai.anki_field] = translation
|
77
75
|
|
78
76
|
if prev_screenshot_in_anki:
|
79
77
|
note['fields'][get_config().anki.previous_image_field] = prev_screenshot_html
|
@@ -1,5 +1,5 @@
|
|
1
1
|
GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
GameSentenceMiner/anki.py,sha256=
|
2
|
+
GameSentenceMiner/anki.py,sha256=O3zKxn_VVn8SA3O8mFQAsU3d1R_4QzRnWEnAIM3NQBE,14005
|
3
3
|
GameSentenceMiner/config_gui.py,sha256=AifBgNaeWcBhuFoQz8QJ4srM1Ck8KjHmnOmI-aRcFHg,66965
|
4
4
|
GameSentenceMiner/configuration.py,sha256=F-WOOjofV-GrBX2SCpArw5LMqpMGf_KCOzjvQeZZlhM,20287
|
5
5
|
GameSentenceMiner/ffmpeg.py,sha256=iUj-1uLLJla6jjGDKuc1FbcXjMogYpoDhrQqCbQFcWA,13359
|
@@ -23,9 +23,9 @@ GameSentenceMiner/vad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
23
23
|
GameSentenceMiner/vad/silero_trim.py,sha256=ULf3zwS-JMsY82cKF7gZxREHw8L6lgpWF2U1YqgE9Oc,1681
|
24
24
|
GameSentenceMiner/vad/vosk_helper.py,sha256=125X8C9NxFPlWWpoNsbOnEqKx8RCjXN109zNx_QXhyg,6070
|
25
25
|
GameSentenceMiner/vad/whisper_helper.py,sha256=JJ-iltCh813XdjyEw0Wn5DaErf6PDqfH0Efu1Md8cIY,3543
|
26
|
-
gamesentenceminer-2.6.
|
27
|
-
gamesentenceminer-2.6.
|
28
|
-
gamesentenceminer-2.6.
|
29
|
-
gamesentenceminer-2.6.
|
30
|
-
gamesentenceminer-2.6.
|
31
|
-
gamesentenceminer-2.6.
|
26
|
+
gamesentenceminer-2.6.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
27
|
+
gamesentenceminer-2.6.2.dist-info/METADATA,sha256=1GUNrzGOrtm9ko3H80SvsRL2VvOYGbp5JkUZ3MJdfzg,5467
|
28
|
+
gamesentenceminer-2.6.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
29
|
+
gamesentenceminer-2.6.2.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
30
|
+
gamesentenceminer-2.6.2.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
31
|
+
gamesentenceminer-2.6.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|