Commit Graph

60 Commits

Author SHA1 Message Date
Fangjun Kuang
bc791d4996 Fix C api for Go and MFC to support streaming paraformer (#268) 2023-08-14 17:02:23 +08:00
Fangjun Kuang
eb5ae18015 Fix C# API to support streaming Paraformer (#266) 2023-08-14 15:27:54 +08:00
Fangjun Kuang
6038e2aa62 Support streaming paraformer (#263) 2023-08-14 10:32:14 +08:00
Fangjun Kuang
a4bff28e21 Support TDNN models from the yesno recipe from icefall (#262) 2023-08-12 19:50:22 +08:00
Fangjun Kuang
b094868fb8 Add non-streaming websocket server for python (#259) 2023-08-11 15:56:24 +08:00
Fangjun Kuang
865fd1e017 Support pkg-config (#253) 2023-08-10 11:22:36 +08:00
Fangjun Kuang
6061318e3f fix building on linux with GPU (#249) 2023-08-09 20:21:28 +08:00
Fangjun Kuang
46062bb697 Fix building .Net packages (#247) 2023-08-09 12:53:13 +08:00
Fangjun Kuang
6235cb9f1b Fix building wheels for Linux (#240) 2023-08-07 20:16:05 +08:00
Fangjun Kuang
f7c05b1570 Add CI test for Whisper models (#239) 2023-08-07 19:24:52 +08:00
Fangjun Kuang
45b9d4ab37 Support whisper models (#238) 2023-08-07 12:34:18 +08:00
zhaomingwork
5c9aebd583 For java ci actions (#231) 2023-08-05 10:32:48 +08:00
Fangjun Kuang
a12252a01d Fix windows CUDA build CI (#223) 2023-07-25 12:33:23 +08:00
Fangjun Kuang
17a2079cfb Test Windows CUDA support in CI (#222) 2023-07-25 12:20:43 +08:00
Fangjun Kuang
e63d205b3d Add go-api-examples (#219) 2023-07-21 17:56:09 +08:00
Fangjun Kuang
bd74e1c4e5 Fix CI tests (#218) 2023-07-15 19:54:27 +08:00
Fangjun Kuang
5d820b88ef Publish pre-compiled libs for Android. (#217) 2023-07-15 12:25:18 +08:00
Fangjun Kuang
0abd7ce881 Add non-streaming speech recognition examples for MFC (#212) 2023-07-14 17:00:14 +08:00
Fangjun Kuang
bebc1f1398 Use static libraries for MFC examples (#210) 2023-07-13 14:52:43 +08:00
Fangjun Kuang
0b5fa24134 Upload pre-compiled binaries and libraries on release (#206) 2023-07-10 17:59:08 +08:00
Fangjun Kuang
4eacbed0b2 Update onnxruntime from v1.14.0 to v1.15.1 (#204) 2023-07-09 14:42:19 +08:00
Fangjun Kuang
fa86597f98 Publish pre-compiled xcframework for iOS via GitHub actions (#203) 2023-07-08 13:46:28 +08:00
Fangjun Kuang
ba26783eb0 Support 32-bit ARM Linux (#202) 2023-07-07 17:30:06 +08:00
Fangjun Kuang
a8599507ca Publish universal wheel for macOS (#200) 2023-07-06 18:05:52 +08:00
Fangjun Kuang
adcb5776d8 Publish pre-compiled wheels for Win32 (#199) 2023-07-06 15:08:52 +08:00
Fangjun Kuang
3a08191a43 Build pre-compiled wheels for aarch64 (Linux) (#197) 2023-07-06 08:40:25 +08:00
Wei Kang
8562711252 Implement context biasing with a Aho Corasick automata (#145)
* Implement context graph

* Modify the interface to support context biasing

* Support context biasing in modified beam search; add python wrapper

* Support context biasing in python api example

* Minor fixes

* Fix context graph

* Minor fixes

* Fix tests

* Fix style

* Fix style

* Fix comments

* Minor fixes

* Add missing header

* Replace std::shared_ptr with std::unique_ptr for effciency

* Build graph in constructor

* Fix comments

* Minor fixes

* Fix docs
2023-06-16 14:26:36 +08:00
Jingzhao Ou
0ed501b8f1 Added provider option to sherpa-onnx and decode-file-c-api (#162) 2023-06-03 04:57:48 +08:00
Jingzhao Ou
de1880948b Added streaming conformer test (#150) 2023-05-12 08:37:24 +08:00
Fangjun Kuang
7969cf44ac Refactor C# code and support building nuget packages for cross-platforms (#144) 2023-05-10 14:53:04 +08:00
Fangjun Kuang
4024bfab32 Add examples for Kotlin API (#124) 2023-04-19 17:29:35 +08:00
Fangjun Kuang
80060c276d Begin to support CTC models (#119)
Please see https://k2-fsa.github.io/sherpa/onnx/pretrained_models/offline-ctc/nemo/index.html for a list of pre-trained CTC models from NeMo.
2023-04-07 23:11:34 +08:00
Fangjun Kuang
ae1f9e7914 Publish sdist only when OS is Linux in CI (#116) 2023-04-04 23:00:14 +08:00
Fangjun Kuang
726680c5e0 Install binaries via pip install (#112)
When pepole use pip install sherpa-onnx, they also get the following binaries:

(py38) fangjuns-MacBook-Pro:bin fangjun$ ls -lh  sherpa-onnx*
-rwxr-xr-x  1 fangjun  staff    36K Apr  4 13:48 sherpa-onnx
-rwxr-xr-x  1 fangjun  staff    52K Apr  4 13:48 sherpa-onnx-microphone
-rwxr-xr-x  1 fangjun  staff    54K Apr  4 13:48 sherpa-onnx-microphone-offline
-rwxr-xr-x  1 fangjun  staff    37K Apr  4 13:48 sherpa-onnx-offline
-rwxr-xr-x  1 fangjun  staff   634K Apr  4 13:48 sherpa-onnx-offline-websocket-server
-rwxr-xr-x  1 fangjun  staff   710K Apr  4 13:48 sherpa-onnx-online-websocket-client
-rwxr-xr-x  1 fangjun  staff   651K Apr  4 13:48 sherpa-onnx-online-websocket-server
(py38) fangjuns-MacBook-Pro:bin fangjun$ pwd
/Users/fangjun/py38/bin
2023-04-04 15:45:59 +08:00
Fangjun Kuang
5d3c8edbc9 add python tests (#111) 2023-04-02 23:05:30 +08:00
Fangjun Kuang
f9f9f20d37 Test int8 models (#107)
* Test int8 models

* Fix displaying help messages

* small fixes

* Fix jni test
2023-03-31 22:34:10 +08:00
Fangjun Kuang
f69b4e9396 Add tests for zipformer (#106) 2023-03-31 04:47:20 +08:00
Fangjun Kuang
6707ec4124 add offline websocket server/client (#98) 2023-03-29 21:48:45 +08:00
Fangjun Kuang
423d89e9a5 Support paraformer. (#95) 2023-03-28 17:59:54 +08:00
Fangjun Kuang
5572246253 Add non-streaming ASR (#92) 2023-03-26 08:53:42 +08:00
Fangjun Kuang
6f92bc7362 Fix issues about DLLs when installing pre-compiled wheels on windows (#91) 2023-03-18 13:55:59 +08:00
Fangjun Kuang
1cf2c0417a Ci windows x86 (#87)
* CI for 32-bit windows

* small fixes
2023-03-07 17:14:52 +08:00
Fangjun Kuang
5f31b22c12 Fix modified beam search for iOS and android (#76)
* Use Int type for sampling rate

* Fix swift

* Fix iOS
2023-03-03 15:18:31 +08:00
Fangjun Kuang
8d7455a978 Fix building pre-compiled wheels (#68) 2023-02-28 11:11:26 +08:00
Fangjun Kuang
343e732ccb Refactor python examples (#67) 2023-02-26 20:33:16 +08:00
Fangjun Kuang
ce4dd176e4 Add ffmpeg example (#61) 2023-02-24 17:44:36 +08:00
Fangjun Kuang
c63c4c3389 C api (#60) 2023-02-24 16:42:46 +08:00
Fangjun Kuang
9064b3f016 Support Android (#59) 2023-02-24 13:57:03 +08:00
Fangjun Kuang
ef93dcd733 Add JNI (#57) 2023-02-22 21:14:57 +08:00
Fangjun Kuang
f9010adc3c Test streaming Zipformer transducer in CI (#56) 2023-02-22 17:31:08 +08:00