GameSentenceMiner 2.5.3__py3-none-any.whl → 2.5.4__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 +2 -2
- GameSentenceMiner/util.py +1 -1
- {gamesentenceminer-2.5.3.dist-info → gamesentenceminer-2.5.4.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.5.3.dist-info → gamesentenceminer-2.5.4.dist-info}/RECORD +8 -8
- {gamesentenceminer-2.5.3.dist-info → gamesentenceminer-2.5.4.dist-info}/WHEEL +1 -1
- {gamesentenceminer-2.5.3.dist-info → gamesentenceminer-2.5.4.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.5.3.dist-info → gamesentenceminer-2.5.4.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.5.3.dist-info → gamesentenceminer-2.5.4.dist-info}/top_level.txt +0 -0
GameSentenceMiner/anki.py
CHANGED
@@ -135,12 +135,12 @@ def get_initial_card_info(last_note: AnkiCard, selected_lines):
|
|
135
135
|
sentences.append(line.text)
|
136
136
|
|
137
137
|
logger.info(f"Attempting to Fix Character Dialogue Format")
|
138
|
-
logger.info([f"
|
138
|
+
logger.info([f"{line.text}" for line in sentences])
|
139
139
|
try:
|
140
140
|
combined_lines = combine_dialogue(sentences)
|
141
141
|
|
142
142
|
if combined_lines:
|
143
|
-
|
143
|
+
sentences_text = "".join(combined_lines)
|
144
144
|
except Exception as e:
|
145
145
|
logger.debug(f'Error combining dialogue: {e}, defaulting')
|
146
146
|
pass
|
GameSentenceMiner/util.py
CHANGED
@@ -155,7 +155,7 @@ def combine_dialogue(dialogue_lines, new_lines=None):
|
|
155
155
|
if new_lines is None:
|
156
156
|
new_lines = []
|
157
157
|
|
158
|
-
if '「' not in dialogue_lines[0]:
|
158
|
+
if len(dialogue_lines) == 1 and '「' not in dialogue_lines[0]:
|
159
159
|
new_lines.append(dialogue_lines[0] + "<br>")
|
160
160
|
return new_lines
|
161
161
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
GameSentenceMiner/anki.py,sha256=
|
2
|
+
GameSentenceMiner/anki.py,sha256=Atn8wZ69nDjGmD7fxkSBaRxVHZLsrEjy_SXTBGQOXyI,12229
|
3
3
|
GameSentenceMiner/config_gui.py,sha256=PzzLX-OwK71U5JSFaxup0ec0oWBWaF6AeCXs0m13HK0,56762
|
4
4
|
GameSentenceMiner/configuration.py,sha256=kyvNCkZSZcqXbGjak8lb_GyhhjN8tIfb7eEfusz_M8A,16038
|
5
5
|
GameSentenceMiner/electron_messaging.py,sha256=fBk9Ipo0jg2OZwYaKe1Qsm05P2ftrdTRGgFYob7ZA-k,139
|
@@ -10,7 +10,7 @@ GameSentenceMiner/model.py,sha256=bZm-2vkIw4gQCGLB02eDoTtO1Ymb_dnHk0VDJDFO3y8,52
|
|
10
10
|
GameSentenceMiner/notification.py,sha256=WeFodBsshhbOagcEfjAJ3kxjUGvBuUAQKEJ8Zf0YO04,2267
|
11
11
|
GameSentenceMiner/obs.py,sha256=8ImXAVUWa4JdzwcBOEFShlZRZzh1dCvdpD1aEGhQfbU,6566
|
12
12
|
GameSentenceMiner/package.py,sha256=YlS6QRMuVlm6mdXx0rlXv9_3erTGS21jaP3PNNWfAH0,1250
|
13
|
-
GameSentenceMiner/util.py,sha256=
|
13
|
+
GameSentenceMiner/util.py,sha256=lAFwAQNeHpVZs_Aeb2K2ShVdcmfrQzEwxUnbf7e6fOc,5699
|
14
14
|
GameSentenceMiner/utility_gui.py,sha256=Ox63XZnj08MezcEG8X5EYJlbHmw-bZitN3CsWgP8lLo,5743
|
15
15
|
GameSentenceMiner/downloader/Untitled_json.py,sha256=RUUl2bbbCpUDUUS0fP0tdvf5FngZ7ILdA_J5TFYAXUQ,15272
|
16
16
|
GameSentenceMiner/downloader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -19,9 +19,9 @@ GameSentenceMiner/vad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
19
19
|
GameSentenceMiner/vad/silero_trim.py,sha256=-thDIZLuTLra3YBj7WR16Z6JeDgSpge2YuahprBvD8I,1585
|
20
20
|
GameSentenceMiner/vad/vosk_helper.py,sha256=BI_mg_qyrjNbuEJjXSUDoV0FWEtQtEOAPmrrNixnZ_8,5974
|
21
21
|
GameSentenceMiner/vad/whisper_helper.py,sha256=OF4J8TPPoKPJR1uFwrWAZ2Q7v0HJkVvNGmF8l1tACX0,3447
|
22
|
-
gamesentenceminer-2.5.
|
23
|
-
gamesentenceminer-2.5.
|
24
|
-
gamesentenceminer-2.5.
|
25
|
-
gamesentenceminer-2.5.
|
26
|
-
gamesentenceminer-2.5.
|
27
|
-
gamesentenceminer-2.5.
|
22
|
+
gamesentenceminer-2.5.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
23
|
+
gamesentenceminer-2.5.4.dist-info/METADATA,sha256=9lcQSAVYsHJRdIUKy_4vYSYwuf7al510YQoSdv1Otes,5409
|
24
|
+
gamesentenceminer-2.5.4.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
25
|
+
gamesentenceminer-2.5.4.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
26
|
+
gamesentenceminer-2.5.4.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
27
|
+
gamesentenceminer-2.5.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|