GameSentenceMiner 2.13.13__py3-none-any.whl → 2.13.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.
@@ -368,20 +368,21 @@ class GoogleLens:
368
368
  if furigana_filter_sensitivity:
369
369
  for word in line['words']:
370
370
  if 'geometry' not in word:
371
- res += word['plain_text']
371
+ res += word['plain_text'] + word['text_separator']
372
372
  continue
373
373
  word_width = word['geometry']['bounding_box']['width'] * img.width
374
374
  word_height = word['geometry']['bounding_box']['height'] * img.height
375
375
  if word_width > furigana_filter_sensitivity and word_height > furigana_filter_sensitivity:
376
- res += word['plain_text']
376
+ res += word['plain_text'] + word['text_separator']
377
377
  else:
378
378
  skipped.extend([word['plain_text'] for word in line['words']])
379
379
  continue
380
380
  else:
381
381
  for word in line['words']:
382
- res += word['plain_text']
382
+ res += word['plain_text'] + word['text_separator']
383
+
383
384
  previous_line = paragraph
384
- res += '\n'
385
+ res += '\n'
385
386
  # logger.info(
386
387
  # f"Skipped {len(skipped)} chars due to furigana filter sensitivity: {furigana_filter_sensitivity}")
387
388
  # widths = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GameSentenceMiner
3
- Version: 2.13.13
3
+ Version: 2.13.15
4
4
  Summary: A tool for mining sentences from games. Update: Overlay?
5
5
  Author-email: Beangate <bpwhelan95@gmail.com>
6
6
  License: MIT License
@@ -28,7 +28,7 @@ GameSentenceMiner/owocr/owocr/__init__.py,sha256=87hfN5u_PbL_onLfMACbc0F5j4KyIK9
28
28
  GameSentenceMiner/owocr/owocr/__main__.py,sha256=XQaqZY99EKoCpU-gWQjNbTs7Kg17HvBVE7JY8LqIE0o,157
29
29
  GameSentenceMiner/owocr/owocr/config.py,sha256=qM7kISHdUhuygGXOxmgU6Ef2nwBShrZtdqu4InDCViE,8103
30
30
  GameSentenceMiner/owocr/owocr/lens_betterproto.py,sha256=oNoISsPilVVRBBPVDtb4-roJtAhp8ZAuFTci3TGXtMc,39141
31
- GameSentenceMiner/owocr/owocr/ocr.py,sha256=ImZvqKeR1yMHzkElFy_t0jsqyuVw6ui5eVy7bUGTY-4,68407
31
+ GameSentenceMiner/owocr/owocr/ocr.py,sha256=beArOJgVPhK7aeEwC5qAdbXzGRkNIpGNiM8rAnQ6cbg,68508
32
32
  GameSentenceMiner/owocr/owocr/run.py,sha256=TSSZnHO_sPoTtUCsDol-v4TWPPzz_Nbf24TeBUea5I4,68498
33
33
  GameSentenceMiner/owocr/owocr/screen_coordinate_picker.py,sha256=Na6XStbQBtpQUSdbN3QhEswtKuU1JjReFk_K8t5ezQE,3395
34
34
  GameSentenceMiner/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -67,9 +67,9 @@ GameSentenceMiner/web/templates/index.html,sha256=Gv3CJvNnhAzIVV_QxhNq4OD-pXDt1v
67
67
  GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
68
68
  GameSentenceMiner/web/templates/utility.html,sha256=3flZinKNqUJ7pvrZk6xu__v67z44rXnaK7UTZ303R-8,16946
69
69
  GameSentenceMiner/wip/get_overlay_coords.py,sha256=IK3ZLKOygHmk02bUGl7GDQF7LV_FEDmSMWRniWGPvBk,20435
70
- gamesentenceminer-2.13.13.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
71
- gamesentenceminer-2.13.13.dist-info/METADATA,sha256=wTdXL_M84jOY2J-NXqAsWl5liXkfiHg7c3vq1LNSI9s,1464
72
- gamesentenceminer-2.13.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
73
- gamesentenceminer-2.13.13.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
74
- gamesentenceminer-2.13.13.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
75
- gamesentenceminer-2.13.13.dist-info/RECORD,,
70
+ gamesentenceminer-2.13.15.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
71
+ gamesentenceminer-2.13.15.dist-info/METADATA,sha256=ovhoy-qvPB2qkIRV9pqrj3DkRg9nZbAPikRNBABW9os,1464
72
+ gamesentenceminer-2.13.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
73
+ gamesentenceminer-2.13.15.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
74
+ gamesentenceminer-2.13.15.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
75
+ gamesentenceminer-2.13.15.dist-info/RECORD,,