GameSentenceMiner 2.18.13__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/web/database_api.py +2 -2
- {gamesentenceminer-2.18.13.dist-info → gamesentenceminer-2.18.15.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.18.13.dist-info → gamesentenceminer-2.18.15.dist-info}/RECORD +9 -9
- {gamesentenceminer-2.18.13.dist-info → gamesentenceminer-2.18.15.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.18.13.dist-info → gamesentenceminer-2.18.15.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.18.13.dist-info → gamesentenceminer-2.18.15.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.18.13.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
|
|
@@ -1089,7 +1089,7 @@ def register_database_api_routes(app):
|
|
|
1089
1089
|
color = colors[i % len(colors)]
|
|
1090
1090
|
|
|
1091
1091
|
datasets.append({
|
|
1092
|
-
"label": f"{game}
|
|
1092
|
+
"label": f"{game}",
|
|
1093
1093
|
"data": final_data[game]['lines'],
|
|
1094
1094
|
"borderColor": color,
|
|
1095
1095
|
"backgroundColor": f"{color}33", # Semi-transparent for fill
|
|
@@ -1098,7 +1098,7 @@ def register_database_api_routes(app):
|
|
|
1098
1098
|
"for": "Lines Received"
|
|
1099
1099
|
})
|
|
1100
1100
|
datasets.append({
|
|
1101
|
-
"label": f"{game}
|
|
1101
|
+
"label": f"{game}",
|
|
1102
1102
|
"data": final_data[game]['chars'],
|
|
1103
1103
|
"borderColor": color,
|
|
1104
1104
|
"backgroundColor": f"{color}33",
|
|
@@ -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
|
|
@@ -61,7 +61,7 @@ GameSentenceMiner/util/downloader/oneocr_dl.py,sha256=l3s9Z-x1b57GX048o5h-MVv0UT
|
|
|
61
61
|
GameSentenceMiner/util/win10toast/__init__.py,sha256=6TL2w6rzNmpJEp6_v2cAJP_7ExA3UsKzwdM08pNcVfE,5341
|
|
62
62
|
GameSentenceMiner/util/win10toast/__main__.py,sha256=5MYnBcFj8y_6Dyc1kiPd0_FsUuh4yl1cv5wsleU6V4w,668
|
|
63
63
|
GameSentenceMiner/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
64
|
-
GameSentenceMiner/web/database_api.py,sha256=
|
|
64
|
+
GameSentenceMiner/web/database_api.py,sha256=wedzDy_zpeJG1XvUw2fDWQ6InwRu6WfuVRdKWYUfvbE,84792
|
|
65
65
|
GameSentenceMiner/web/events.py,sha256=6Vyz5c9MdpMIa7Zqljqhap2XFQnAVYJ0CdQV64TSZsA,5119
|
|
66
66
|
GameSentenceMiner/web/gsm_websocket.py,sha256=B0VKpxmsRu0WRh5nFWlpDPBQ6-K2ed7TEIa0O6YWeoo,4166
|
|
67
67
|
GameSentenceMiner/web/service.py,sha256=6cgUmDgtp3ZKzuPFszowjPoq-BDtC1bS3ux6sykeaqo,6662
|
|
@@ -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.13.dist-info → gamesentenceminer-2.18.15.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{gamesentenceminer-2.18.13.dist-info → gamesentenceminer-2.18.15.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|