GameSentenceMiner 2.18.14__py3-none-any.whl → 2.18.15__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/obs.py +1 -2
- GameSentenceMiner/vad.py +3 -3
- {gamesentenceminer-2.18.14.dist-info → gamesentenceminer-2.18.15.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.18.14.dist-info → gamesentenceminer-2.18.15.dist-info}/RECORD +8 -8
- {gamesentenceminer-2.18.14.dist-info → gamesentenceminer-2.18.15.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.18.14.dist-info → gamesentenceminer-2.18.15.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.18.14.dist-info → gamesentenceminer-2.18.15.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.18.14.dist-info → gamesentenceminer-2.18.15.dist-info}/top_level.txt +0 -0
GameSentenceMiner/obs.py
CHANGED
|
@@ -561,8 +561,7 @@ def get_replay_buffer_max_time_seconds():
|
|
|
561
561
|
if settings and 'max_time_sec' in settings:
|
|
562
562
|
return settings['max_time_sec']
|
|
563
563
|
else:
|
|
564
|
-
|
|
565
|
-
return 0
|
|
564
|
+
return 300
|
|
566
565
|
else:
|
|
567
566
|
logger.warning(f"get_output_settings for replay_buffer failed: {response.status}")
|
|
568
567
|
return 0
|
GameSentenceMiner/vad.py
CHANGED
|
@@ -195,11 +195,11 @@ class WhisperVADProcessor(VADProcessor):
|
|
|
195
195
|
# If both mined text and Whisper transcription are available, compare their similarity
|
|
196
196
|
if text_mined and text:
|
|
197
197
|
from rapidfuzz import fuzz
|
|
198
|
-
similarity = fuzz.
|
|
199
|
-
logger.info(f"Whisper transcription: '{text}' | Mined text: '{text_mined}' |
|
|
198
|
+
similarity = fuzz.ratio(text_mined, text)
|
|
199
|
+
logger.info(f"Whisper transcription: '{text}' | Mined text: '{text_mined}' | Full similarity: {similarity:.1f}")
|
|
200
200
|
text_similarity = similarity
|
|
201
201
|
if similarity < 20:
|
|
202
|
-
logger.info(f"
|
|
202
|
+
logger.info(f"Full similarity {similarity:.1f} is below threshold, skipping voice activity.")
|
|
203
203
|
return []
|
|
204
204
|
|
|
205
205
|
# Process the segments to extract tokens, timestamps, and confidence
|
|
@@ -2,8 +2,8 @@ GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
|
2
2
|
GameSentenceMiner/anki.py,sha256=fQ5ccQGvhbH2hmdzNSDXXJTeqfIc_GVfFPqVgBds_fM,31255
|
|
3
3
|
GameSentenceMiner/gametext.py,sha256=FBL3kgJ71hCg5Nczuo9dAEi_sLGdVIGgvc62bT5KhCc,10691
|
|
4
4
|
GameSentenceMiner/gsm.py,sha256=0hEpEBDbI9FtiKtHeyrSLKV1nys-mKTKfxLY0Dk7mOQ,36387
|
|
5
|
-
GameSentenceMiner/obs.py,sha256=
|
|
6
|
-
GameSentenceMiner/vad.py,sha256=
|
|
5
|
+
GameSentenceMiner/obs.py,sha256=PtO_zB8zhaBxm_Vp8ggf2JmYAJ72cclBLo0kPuUBIoc,36766
|
|
6
|
+
GameSentenceMiner/vad.py,sha256=jT0pNfoKeoqSAveK9Cl1j9RVKkakeHvoohAge_D3tnU,21275
|
|
7
7
|
GameSentenceMiner/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
GameSentenceMiner/ai/ai_prompting.py,sha256=mq9Odv_FpohXagU-OoSZbLWttdrEl1M1NiqnodeUpD8,29126
|
|
9
9
|
GameSentenceMiner/assets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -126,9 +126,9 @@ GameSentenceMiner/web/templates/components/kanji_grid/thousand_character_classic
|
|
|
126
126
|
GameSentenceMiner/web/templates/components/kanji_grid/wanikani_levels.json,sha256=8wjnnaYQqmho6t5tMxrIAc03512A2tYhQh5dfsQnfAM,11372
|
|
127
127
|
GameSentenceMiner/web/templates/components/kanji_grid/words_hk_frequency_list.json,sha256=wRkqZNPzz6DT9OTPHpXwfqW96Qb96stCQNNgOL-ZdKk,17535
|
|
128
128
|
GameSentenceMiner/wip/__init___.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
129
|
-
gamesentenceminer-2.18.
|
|
130
|
-
gamesentenceminer-2.18.
|
|
131
|
-
gamesentenceminer-2.18.
|
|
132
|
-
gamesentenceminer-2.18.
|
|
133
|
-
gamesentenceminer-2.18.
|
|
134
|
-
gamesentenceminer-2.18.
|
|
129
|
+
gamesentenceminer-2.18.15.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
130
|
+
gamesentenceminer-2.18.15.dist-info/METADATA,sha256=GKF6rzzvHB0ifiTpDpZKQFzpR_VU_lVhQIOcLVo1FT0,7488
|
|
131
|
+
gamesentenceminer-2.18.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
132
|
+
gamesentenceminer-2.18.15.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
|
133
|
+
gamesentenceminer-2.18.15.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
|
134
|
+
gamesentenceminer-2.18.15.dist-info/RECORD,,
|
|
File without changes
|
{gamesentenceminer-2.18.14.dist-info → gamesentenceminer-2.18.15.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{gamesentenceminer-2.18.14.dist-info → gamesentenceminer-2.18.15.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|