Commit Graph

247 Commits

Author SHA1 Message Date
Fangjun Kuang
33a5765169 Print a more user-friendly error message when using --hotwords-file. (#344) 2023-09-26 11:04:20 +08:00
yujinqiu
9091917eab Generate SRT from audio (#341) 2023-09-25 16:36:16 +08:00
Fangjun Kuang
552a267c23 Set is_final and start_time for online websocket server. (#342)
* Set is_final and start_time for online websocket server.

* Convert timestamps to a json array
2023-09-25 15:12:07 +08:00
poor1017
c2518a5826 Supports cmake compilation compatible with v3.13. (#340)
Co-authored-by: chenyu <cheny65@chinatelecom.cn>
2023-09-25 11:48:55 +08:00
dym21
fef61080de Added #include <cstdint> to fix gcc 13.2 compilation error. (#339) 2023-09-25 10:38:26 +08:00
Fangjun Kuang
f91c49a7ba Provide pre-built wheels for 32-bit arm (e.g., 32-bit Raspberry Pi) (#338) 2023-09-25 09:33:43 +08:00
Fangjun Kuang
7649bd862c Fix building APKs (#337) 2023-09-24 14:16:14 +08:00
Fangjun Kuang
4ca60e2603 Add VAD + Non-streaming ASR model for Android (#336) 2023-09-23 22:48:38 +08:00
Fangjun Kuang
6e60a77d89 Add Android APK for Silero VAD (#335) 2023-09-23 20:39:13 +08:00
Fangjun Kuang
65ec4dc741 Update alternative URLs for onnxruntime 1.16.0 (#334) 2023-09-22 18:50:52 +08:00
Fangjun Kuang
43b2b7760d Fix tokens processing for byte-level BPE (#333) 2023-09-22 13:28:19 +08:00
Fangjun Kuang
969fff5622 Add VAD + Non-streaming ASR Python example. (#332) 2023-09-22 11:53:47 +08:00
Fangjun Kuang
cf199ad466 Support onnxruntime 1.16.0 (#330) 2023-09-21 20:39:24 +08:00
zr_jin
b640c295b9 Swift API for hotwords support (#331) 2023-09-21 20:32:13 +08:00
Fangjun Kuang
532ed142d2 Support linking onnxruntime lib statically on Linux (#326) 2023-09-21 10:15:42 +08:00
Fangjun Kuang
f5c060dd61 Reduce whisper decoder file size with onnx export (#328) 2023-09-20 19:33:26 +08:00
Fangjun Kuang
6afa9c85f6 Fix tokens for byte-level BPE token. (#324) 2023-09-20 07:49:53 +08:00
keanu
bd173b27cc Offline decode support multi threads (#306)
Co-authored-by: cuidongcai1035 <cuidongcai1035@wezhuiyi.com>
2023-09-19 21:04:13 +08:00
Nick Fisher
b3e9986825 Add CreateOnlineStreamWithHotwords to C API (#323)
* add default visibility to SHERPA_ONNX_EXPORT

* expose CreateOnlineStreamWithHotwords method via C API

Co-authored-by: Nick Fisher <nick.fisher@polyvox.app>
2023-09-19 17:32:42 +08:00
Wei Kang
d7eab95439 Add java api for hotwords (#319)
* Add java api

* support websocket

* Fix kotlin
2023-09-18 22:44:29 +08:00
Wei Kang
4dfc11066a format to linux file (\r\n -> \n) (#320) 2023-09-18 16:57:12 +08:00
Wei Kang
a5d1c90807 Support c-api (#317) 2023-09-18 16:24:57 +08:00
Fangjun Kuang
bd18e073f4 Fix building MFC examples (#321) 2023-09-18 16:04:07 +08:00
Fangjun Kuang
692a47dd80 Add Swift example for generating subtitles (#318) 2023-09-18 15:16:54 +08:00
Fangjun Kuang
2d51ca49b7 Generate subtitles (#315) 2023-09-18 10:44:06 +08:00
Peng He
5ca0ff8811 Fix LogAdd (#316)
Using 0 as the initial value,  should not perform addition when both values are 0
2023-09-18 10:43:04 +08:00
Fangjun Kuang
c471423125 Add Silero VAD (#313) 2023-09-17 14:54:38 +08:00
Fangjun Kuang
3a20e332bf Fix symlink for Windows (#312) 2023-09-15 16:03:09 +08:00
Fangjun Kuang
1e95fbf15f release v1.7.14 (#311) 2023-09-14 19:35:29 +08:00
Fangjun Kuang
e2be532b32 Add timestamps for offline paraformer (#310) 2023-09-14 19:33:41 +08:00
Wei Kang
47184f9db7 Refactor hotwords,support loading hotwords from file (#296) 2023-09-14 19:33:17 +08:00
Fangjun Kuang
087367d7fe Build APKs for two-pass speech recognition (#308) 2023-09-12 18:18:24 +08:00
Fangjun Kuang
d46b7ec178 Catch exception from non-streaming paraformer. (#307) 2023-09-12 16:44:33 +08:00
Fangjun Kuang
debab7c091 Add two-pass speech recognition Android/iOS demo (#304) 2023-09-12 15:40:16 +08:00
Fangjun Kuang
8982984ea2 add a two-pass python example (#303) 2023-09-10 17:56:13 +08:00
Fangjun Kuang
86b18184c9 Fix Go examples (#300) 2023-09-07 15:27:41 +08:00
Fangjun Kuang
a12ebfab22 treat unk as blank (#299) 2023-09-07 15:12:29 +08:00
Fangjun Kuang
ffeff3b8a3 Fix a typo for Go (#298) 2023-09-07 11:29:00 +08:00
Fangjun Kuang
a0a747a0c0 add endpointing for online websocket server (#294) 2023-08-31 14:41:04 +08:00
Wei Kang
2b0152d2a2 Fix context graph (#292) 2023-08-28 19:39:22 +08:00
Fangjun Kuang
49ec7e8f57 Fix building APK (#286) 2023-08-18 15:28:06 +08:00
Fangjun Kuang
e955f9c752 Release pre-built APKs (#285) 2023-08-18 14:28:44 +08:00
Fangjun Kuang
5c5b335232 Remove whisper dependency from the whisper Python example (#283) 2023-08-17 13:18:59 +08:00
Fangjun Kuang
eb22b4845a Fix a bug for multilingual ASR (#281) 2023-08-17 10:43:26 +08:00
Fangjun Kuang
54eca59f19 Fix building .Net package (#280) 2023-08-17 10:38:42 +08:00
Fangjun Kuang
e31f9e48c2 Fix various language binding APIs for tdnn and whisper models (#278) 2023-08-16 22:15:10 +08:00
zhaomingwork
3ab135c1eb update Makefile for paraformer java (#277) 2023-08-16 22:11:50 +08:00
zhaomingwork
256a8ecb50 update java for paraformer (#276) 2023-08-16 20:16:51 +08:00
Fangjun Kuang
f709c95c5f Support multilingual whisper models (#274) 2023-08-16 00:28:52 +08:00
Fangjun Kuang
496c5dd7f5 Fix pip install on Windows for Python 3.11 (#271) 2023-08-14 22:22:46 +08:00