termux-stt 2.0.0 → 2.0.1

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.
package/README.md CHANGED
@@ -38,7 +38,7 @@ print("SRT Subtitles:\n", result.to_srt())
38
38
 
39
39
  # 3. Multi-Speaker Neural Diarization (PyAnnote 3.0 + CAM++ 192d + TS-VAD)
40
40
  hybrid = create_engine("hybrid", lang="ko", num_speakers=2)
41
- diar_result = hybrid.diarize("samples/kor_영어로화자분리.wav")
41
+ diar_result = hybrid.diarize("samples/kor_diarization.wav")
42
42
  for seg in diar_result.segments:
43
43
  print(f"[{seg.speaker}] ({seg.start:.1f}s -> {seg.end:.1f}s): {seg.text}")
44
44
 
@@ -62,7 +62,7 @@ async function main() {
62
62
 
63
63
  // 3. Neural Diarization via Hybrid Engine
64
64
  const hybrid = createEngine("hybrid", { lang: "ko", numSpeakers: 2 });
65
- const diarResult = await hybrid.diarize("samples/kor_영어로화자분리.wav");
65
+ const diarResult = await hybrid.diarize("samples/kor_diarization.wav");
66
66
  for (const seg of diarResult.segments) {
67
67
  console.log(`[${seg.speaker}] (${seg.start.toFixed(1)}s -> ${seg.end.toFixed(1)}s): ${seg.text}`);
68
68
  }
package/README.pypi.md CHANGED
@@ -27,7 +27,7 @@ print("SRT Subtitles:\n", result.to_srt())
27
27
 
28
28
  # 3. Multi-Speaker Neural Diarization (PyAnnote 3.0 + CAM++ 192d + TS-VAD)
29
29
  hybrid = create_engine("hybrid", lang="ko", num_speakers=2)
30
- diar_result = hybrid.diarize("samples/kor_영어로화자분리.wav")
30
+ diar_result = hybrid.diarize("samples/kor_diarization.wav")
31
31
  for seg in diar_result.segments:
32
32
  print(f"[{seg.speaker}] ({seg.start:.1f}s -> {seg.end:.1f}s): {seg.text}")
33
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termux-stt",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "On-device Speech-to-Text & neural speaker diarization framework for Android Termux (Whisper Vulkan GPU & Sherpa-ONNX)",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",