GameSentenceMiner 2.9.11__py3-none-any.whl → 2.9.13__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/config_gui.py +1 -1
- GameSentenceMiner/util/configuration.py +2 -1
- GameSentenceMiner/util/gsm_utils.py +2 -3
- {gamesentenceminer-2.9.11.dist-info → gamesentenceminer-2.9.13.dist-info}/METADATA +2 -2
- {gamesentenceminer-2.9.11.dist-info → gamesentenceminer-2.9.13.dist-info}/RECORD +9 -9
- {gamesentenceminer-2.9.11.dist-info → gamesentenceminer-2.9.13.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.9.11.dist-info → gamesentenceminer-2.9.13.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.9.11.dist-info → gamesentenceminer-2.9.13.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.9.11.dist-info → gamesentenceminer-2.9.13.dist-info}/top_level.txt +0 -0
GameSentenceMiner/config_gui.py
CHANGED
@@ -445,7 +445,7 @@ class ConfigApp:
|
|
445
445
|
|
446
446
|
ttk.Label(vad_frame, text="Whisper Model:").grid(row=self.current_row, column=0, sticky='W')
|
447
447
|
self.whisper_model = ttk.Combobox(vad_frame, values=[WHISPER_TINY, WHISPER_BASE, WHISPER_SMALL, WHISPER_MEDIUM,
|
448
|
-
WHSIPER_LARGE])
|
448
|
+
WHSIPER_LARGE, WHISPER_TURBO])
|
449
449
|
self.whisper_model.set(self.settings.vad.whisper_model)
|
450
450
|
self.whisper_model.grid(row=self.current_row, column=1)
|
451
451
|
self.add_label_and_increment_row(vad_frame, "Select the Whisper model size for VAD.", row=self.current_row,
|
@@ -29,6 +29,7 @@ WHISPER_BASE = 'base'
|
|
29
29
|
WHISPER_SMALL = 'small'
|
30
30
|
WHISPER_MEDIUM = 'medium'
|
31
31
|
WHSIPER_LARGE = 'large'
|
32
|
+
WHISPER_TURBO = 'turbo'
|
32
33
|
|
33
34
|
AI_GEMINI = 'Gemini'
|
34
35
|
AI_GROQ = 'Groq'
|
@@ -201,7 +202,7 @@ class VAD:
|
|
201
202
|
do_vad_postprocessing: bool = True
|
202
203
|
language: str = 'ja'
|
203
204
|
vosk_url: str = VOSK_BASE
|
204
|
-
selected_vad_model: str =
|
205
|
+
selected_vad_model: str = WHISPER
|
205
206
|
backup_vad_model: str = OFF
|
206
207
|
trim_beginning: bool = False
|
207
208
|
beginning_offset: float = -0.25
|
@@ -21,11 +21,10 @@ def run_new_thread(func):
|
|
21
21
|
thread.start()
|
22
22
|
return thread
|
23
23
|
|
24
|
-
|
25
24
|
def make_unique_file_name(path):
|
26
25
|
path = Path(path)
|
27
26
|
current_time = datetime.now().strftime('%Y-%m-%d-%H-%M-%S-%f')[:-3]
|
28
|
-
return f"{path.stem}_{current_time}{path.suffix}"
|
27
|
+
return str(path.parent / f"{path.stem}_{current_time}{path.suffix}")
|
29
28
|
|
30
29
|
def sanitize_filename(filename):
|
31
30
|
return re.sub(r'[ <>:"/\\|?*\x00-\x1F]', '', filename)
|
@@ -249,4 +248,4 @@ os.makedirs(os.path.dirname(TEXT_REPLACEMENTS_FILE), exist_ok=True)
|
|
249
248
|
# with open(OCR_REPLACEMENTS_FILE, 'w', encoding='utf-8') as f:
|
250
249
|
# f.write(data)
|
251
250
|
# except Exception as e:
|
252
|
-
# logger.error(f"Failed to fetch JSON from {url}: {e}")
|
251
|
+
# logger.error(f"Failed to fetch JSON from {url}: {e}")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: GameSentenceMiner
|
3
|
-
Version: 2.9.
|
3
|
+
Version: 2.9.13
|
4
4
|
Summary: A tool for mining sentences from games.
|
5
5
|
Author-email: Beangate <bpwhelan95@gmail.com>
|
6
6
|
License: MIT License
|
@@ -24,7 +24,7 @@ Requires-Dist: rapidfuzz~=3.9.7
|
|
24
24
|
Requires-Dist: plyer~=2.1.0
|
25
25
|
Requires-Dist: keyboard~=0.13.5
|
26
26
|
Requires-Dist: websockets~=15.0.1
|
27
|
-
Requires-Dist: stable-ts~=2.
|
27
|
+
Requires-Dist: stable-ts~=2.19.0
|
28
28
|
Requires-Dist: silero-vad~=5.1.2
|
29
29
|
Requires-Dist: ttkbootstrap~=1.10.1
|
30
30
|
Requires-Dist: dataclasses_json~=0.6.7
|
@@ -1,6 +1,6 @@
|
|
1
1
|
GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
GameSentenceMiner/anki.py,sha256=1DN00SUCSd4adIRrEqirXXf-2jSeFEuYNrr_WB8nlVE,14950
|
3
|
-
GameSentenceMiner/config_gui.py,sha256=
|
3
|
+
GameSentenceMiner/config_gui.py,sha256=iAOLD47sQW67kzBcZKSQ0Dwctc1ngZK1lwSVIaLpQPI,83559
|
4
4
|
GameSentenceMiner/gametext.py,sha256=mM-gw1d7c2EEvMUznaAevTQFLswNZavCuxMXhA9pV4g,6251
|
5
5
|
GameSentenceMiner/gsm.py,sha256=ycv1wMEqTBM919qC5rlr0AVzfPwpYP1yIrbSgfibv4I,29174
|
6
6
|
GameSentenceMiner/obs.py,sha256=O9NYOGu7kwp4flq8LLXp8YJQg0JTZ8qBqiQNQ6u4ku4,14724
|
@@ -28,10 +28,10 @@ GameSentenceMiner/owocr/owocr/ocr.py,sha256=vZR3du1fGg5-3cmPvYKTO4PFk7Lxyf6-BrIy
|
|
28
28
|
GameSentenceMiner/owocr/owocr/run.py,sha256=U6VIfCvsNPADG3twhp4SQVX1xhihSAGGrBnQj2x0C2c,54964
|
29
29
|
GameSentenceMiner/owocr/owocr/screen_coordinate_picker.py,sha256=Na6XStbQBtpQUSdbN3QhEswtKuU1JjReFk_K8t5ezQE,3395
|
30
30
|
GameSentenceMiner/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
31
|
-
GameSentenceMiner/util/configuration.py,sha256=
|
31
|
+
GameSentenceMiner/util/configuration.py,sha256=5YJSKelIpBTK7ggpGUERf17xVwH8Hy9GzvJ12eP8kHs,26095
|
32
32
|
GameSentenceMiner/util/electron_config.py,sha256=3VmIrcXhC-wIMMc4uqV85NrNenRl4ZUbnQfSjWEwuig,9852
|
33
33
|
GameSentenceMiner/util/ffmpeg.py,sha256=daItJprEqi5PQe-aFb836rls3tBHNqIQKz61vlJK07M,19276
|
34
|
-
GameSentenceMiner/util/gsm_utils.py,sha256=
|
34
|
+
GameSentenceMiner/util/gsm_utils.py,sha256=Z_Lu4jSIfUaM2VljIJXQkSJD0UsyJ5hMB46H2NS0gZo,8819
|
35
35
|
GameSentenceMiner/util/model.py,sha256=iDtLTfR6D-ZC0gCiDqYno6-gA6Z07PZTM4B5MAA6xZI,5704
|
36
36
|
GameSentenceMiner/util/notification.py,sha256=hAUKWWDB4F_9exQhgiajfP5DT8u464RowsJGmBVRN_E,3882
|
37
37
|
GameSentenceMiner/util/package.py,sha256=u1ym5z869lw5EHvIviC9h9uH97bzUXSXXA8KIn8rUvk,1157
|
@@ -59,9 +59,9 @@ GameSentenceMiner/web/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
59
59
|
GameSentenceMiner/web/templates/index.html,sha256=HZKiIjiGJV8PGQ9T2aLDUNSfJn71qOwbYCjbRuSIjpY,213583
|
60
60
|
GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
|
61
61
|
GameSentenceMiner/web/templates/utility.html,sha256=3flZinKNqUJ7pvrZk6xu__v67z44rXnaK7UTZ303R-8,16946
|
62
|
-
gamesentenceminer-2.9.
|
63
|
-
gamesentenceminer-2.9.
|
64
|
-
gamesentenceminer-2.9.
|
65
|
-
gamesentenceminer-2.9.
|
66
|
-
gamesentenceminer-2.9.
|
67
|
-
gamesentenceminer-2.9.
|
62
|
+
gamesentenceminer-2.9.13.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
63
|
+
gamesentenceminer-2.9.13.dist-info/METADATA,sha256=WyTR-3EvQ2p5mbGLJNGqHTMCeg3hP2mS240XdHrjcK4,7221
|
64
|
+
gamesentenceminer-2.9.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
65
|
+
gamesentenceminer-2.9.13.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
66
|
+
gamesentenceminer-2.9.13.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
67
|
+
gamesentenceminer-2.9.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|