s2t 0.1.6.post1.dev0__py3-none-any.whl → 0.1.7__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.
s2t/cli.py CHANGED
@@ -456,9 +456,9 @@ def main(argv: list[str] | None = None) -> int:
456
456
  help="Minimum duration a chunk must reach before auto-split can trigger",
457
457
  )
458
458
  parser.add_argument(
459
- "--native-segmentation",
459
+ "--chunk-segmentation",
460
460
  action="store_true",
461
- help="Use Whisper's native segmentation inside chunks (default collapses each chunk to a single phrase)",
461
+ help="Disable Whisper's native segmentation: emit exactly one segment per recorded chunk",
462
462
  )
463
463
  parser.add_argument(
464
464
  "-p",
@@ -506,7 +506,7 @@ def main(argv: list[str] | None = None) -> int:
506
506
  lang=args.lang,
507
507
  translate=args.translate,
508
508
  translate_to=(args.translate_to or []),
509
- native_segmentation=getattr(args, "native_segmentation", False),
509
+ native_segmentation=(not getattr(args, "chunk_segmentation", False)),
510
510
  verbose=args.verbose,
511
511
  edit=args.edit,
512
512
  debounce_ms=getattr(args, "debounce_ms", 0),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: s2t
3
- Version: 0.1.6.post1.dev0
3
+ Version: 0.1.7
4
4
  Summary: Speech to Text (s2t): Record audio, run Whisper, export formats, and copy transcript to clipboard.
5
5
  Author: Maintainers
6
6
  License-Expression: LicenseRef-Proprietary
@@ -1,5 +1,5 @@
1
1
  s2t/__init__.py,sha256=wV4E9i-7KrUn1dOtLUQB3ZGEKx9gRWH3hPHlpw-ZdWc,332
2
- s2t/cli.py,sha256=LWrG2SxoXY46wgiegw9ePNVvjpJj9EyuF1ggNk4sm-4,20583
2
+ s2t/cli.py,sha256=p6lvizzW1T1Y-_ykJ8FdPaBVvZS_no7OgRv4gWlZ95s,20572
3
3
  s2t/config.py,sha256=uw4CZSSXmUvnlOrqBGR1Rcq-WdXucHj3KICRcCb_pkU,485
4
4
  s2t/outputs.py,sha256=Lo8VcARZ7QPuuQQNu8myD5J4c4NO1Rs0L1DLnzLe9tM,1546
5
5
  s2t/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
@@ -9,8 +9,8 @@ s2t/utils.py,sha256=YU6YhiuONmqhrKte4DY5tiC5PP-yFExJMMBzFUiA8qA,3416
9
9
  s2t/whisper_engine.py,sha256=x-V7ST9e3JnwMWdbMh4C7dHjA420jaOtXH2-igeh7vc,6492
10
10
  s2t/translator/__init__.py,sha256=K-MKves7kZ4-62POfrmWeOcBaTjsTzeFSu8QNHqYuus,239
11
11
  s2t/translator/argos_backend.py,sha256=VW_OYFFBuNZgcWM-fbvR6XGokuxS2fptkCMFIO9MD1I,19068
12
- s2t-0.1.6.post1.dev0.dist-info/METADATA,sha256=YLjWRv0JW_FPbBE05ycupKtzkcWexosIuFZ63NGeVes,5383
13
- s2t-0.1.6.post1.dev0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
- s2t-0.1.6.post1.dev0.dist-info/entry_points.txt,sha256=JISIUlZAJ3DX1dB6zT3X_E3vcXI-eWEQKwHiT35fPKs,37
15
- s2t-0.1.6.post1.dev0.dist-info/top_level.txt,sha256=o8N0JcuHdIrfX3iGHvntHiDC2XgN7__joyNu08ZOh0s,4
16
- s2t-0.1.6.post1.dev0.dist-info/RECORD,,
12
+ s2t-0.1.7.dist-info/METADATA,sha256=VV7G7rNO-2iDMh3SWSETTY0uG99YyfPlQeaOsDQulAk,5372
13
+ s2t-0.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
+ s2t-0.1.7.dist-info/entry_points.txt,sha256=JISIUlZAJ3DX1dB6zT3X_E3vcXI-eWEQKwHiT35fPKs,37
15
+ s2t-0.1.7.dist-info/top_level.txt,sha256=o8N0JcuHdIrfX3iGHvntHiDC2XgN7__joyNu08ZOh0s,4
16
+ s2t-0.1.7.dist-info/RECORD,,