Commit Graph

249 Commits

Author SHA1 Message Date
Fangjun Kuang
117cd7bb8c Support whisper large/large-v1/large-v2/large-v3 and distil-large-v2 (#1114) 2024-07-12 23:47:39 +08:00
Fangjun Kuang
1c104ea847 Update onnxruntime from v1.18.0 to v1.18.1 (#1107) 2024-07-11 09:35:28 +08:00
Fangjun Kuang
dd0ff2ca06 Support onnxruntime 1.18.0 (#906) 2024-07-10 17:05:26 +08:00
Fangjun Kuang
9e446b8501 Fix typos (#1101) 2024-07-09 20:08:47 +08:00
Fangjun Kuang
c2cc9dec58 Add Flush to VAD so that the last segment can be detected. (#1099) 2024-07-09 16:15:56 +08:00
Fangjun Kuang
e832d356c7 Add Flutter text to speech demo (#1087) 2024-07-08 11:23:11 +08:00
Fangjun Kuang
1fe12c5107 Support the platform iOS for Flutter (#1079) 2024-07-06 19:43:37 +08:00
Fangjun Kuang
a25075101c Build sherpa-onnx as a single shared library (#1078)
When `-D BUILD_SHARED_LIBS=ON` is passed to `cmake`, it builds a single shared library.

Specifically, 

- For C APIs, it builds `libsherpa-onnx-c-api.so`
- For Python APIs, it builds `_sherpa_onnx.cpython-xx-xx.so`
- For Kotlin and Java APIs, it builds `libsherpa-onnx-jni.so`

There is no `libsherpa-onnx-core.so` any longer.

Note it affects only shared libraries.
2024-07-06 16:41:54 +08:00
Fangjun Kuang
f5e9a162d1 Publish flutter packages for Android (#1074) 2024-07-04 20:07:07 +08:00
Fangjun Kuang
b502116068 Refactor flutter to support Android (#1072) 2024-07-04 10:49:09 +08:00
Fangjun Kuang
125bb9ff99 replace macos-11 with macos-13 for GitHub actions (#1066)
Tests using macos-11 wait a long time before they can start, so we replace macos-11 with macos-13.
2024-07-01 12:37:56 +08:00
Fangjun Kuang
598c12c4e5 Fix CI tests (#1061) 2024-06-27 18:05:18 +08:00
Fangjun Kuang
2f8c489698 Publish pre-built jni libs for windows and osx (#1056) 2024-06-25 11:59:04 +08:00
Fangjun Kuang
5cce159cf3 Fix passing C# string to C++ (#1055) 2024-06-25 10:52:59 +08:00
Fangjun Kuang
a3bac19c54 fix a bug for wenet streaming model. (#1054)
* fix a bug for wenet streaming model.

The chunk shift was wrong.
See
https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/asr_model.cc#L15
and
https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/asr_model.cc#L28
2024-06-24 21:52:54 +08:00
Fangjun Kuang
e7a45108ac Remove unused files from .Net examples (#1051) 2024-06-24 10:25:14 +08:00
东风破
00de2bd00b Refactor .Net example project (#1049)
Co-authored-by: 东风破 <birdfishs@163.com>
2024-06-24 10:10:13 +08:00
Fangjun Kuang
6b7ced2317 Fix the alsa-lib version to v1.2.12 (#1048) 2024-06-23 20:20:38 +08:00
Fangjun Kuang
169c9bf627 Flutter demo for real-time speech recognition (#1042) 2024-06-23 13:29:13 +08:00
Fangjun Kuang
a11c859971 Support clang-tidy (#1034) 2024-06-19 20:51:57 +08:00
Fangjun Kuang
0be7f28853 build pre-compiled libs for jni (linux x64) (#1026) 2024-06-18 16:50:04 +08:00
Fangjun Kuang
6789c909d2 Inverse text normalization API of streaming ASR for various programming languages (#1022) 2024-06-18 13:42:17 +08:00
Fangjun Kuang
6e09933d99 Inverse text normalization API for other programming languages (#1019) 2024-06-17 17:02:39 +08:00
Fangjun Kuang
dd69a1b56b Release v1.9.30 (#1016) 2024-06-17 11:57:38 +08:00
Fangjun Kuang
e52d32b95b Add TTS API and examples for Dart (#1010) 2024-06-15 14:30:36 +08:00
Fangjun Kuang
e3077670c6 Add streaming ASR examples for Dart API (#1009) 2024-06-15 11:48:54 +08:00
Fangjun Kuang
d94506698d Add non-streaming ASR examples for Dart API (#1007) 2024-06-14 18:40:16 +08:00
Fangjun Kuang
20a21133af Use CI to publish dart packages (#1001) 2024-06-14 11:50:55 +08:00
Fangjun Kuang
d08cc04567 Add VAD example for Dart API (#996) 2024-06-14 10:37:16 +08:00
Fangjun Kuang
6c12590d21 Fix CI errors. (#993) 2024-06-12 11:42:19 +08:00
Fangjun Kuang
7e0931c762 Fix punctuation (#976) 2024-06-05 11:23:19 +08:00
Fangjun Kuang
fd5a0d1e00 Add C++ runtime for Tele-AI/TeleSpeech-ASR (#970) 2024-06-05 00:26:40 +08:00
Fangjun Kuang
c6f22f25fa export telespeech ctc models to sherpa-onnx (#968) 2024-06-04 12:10:39 +08:00
东风破
f5beece5d8 Update test-dot-net.yaml (#960)
edit DSHERPA_ONNX_ENABLE_BINARY to on
2024-06-02 19:07:53 +08:00
Fangjun Kuang
f1cff83ef9 Add address sanitizer and undefined behavior sanitizer (#951) 2024-05-31 13:17:01 +08:00
Fangjun Kuang
0196f1d546 Wrap VAD APIs to C# (#946) 2024-05-30 18:29:38 +08:00
Fangjun Kuang
a99c7cb35c Wrap punctuation APIs to C#. (#945) 2024-05-30 16:19:56 +08:00
Fangjun Kuang
082f230dfb Fix nemo streaming transducer greedy search (#944) 2024-05-30 15:31:10 +08:00
Fangjun Kuang
49d66ec358 Add Dart API for streaming ASR (#933) 2024-05-30 12:21:09 +08:00
Fangjun Kuang
b4f1006864 fix node-addaon-api for vad (#932) 2024-05-28 18:46:43 +08:00
Fangjun Kuang
5860e45b4c Add KWS examples for Java API (#930) 2024-05-28 15:49:54 +08:00
Fangjun Kuang
bcaa6df389 Add VAD demo for Java API (#928) 2024-05-28 14:59:47 +08:00
Fangjun Kuang
b1c7d04ce2 Support not using external buffers for node-addon (#925) 2024-05-28 11:50:23 +08:00
Fangjun Kuang
49ea59d4ff Add Flutter GUI example for VAD with a microphone. (#905) 2024-05-24 23:48:12 +08:00
Fangjun Kuang
b09fb7f5cd Support Windows arm64 (#911) 2024-05-24 11:18:14 +08:00
Fangjun Kuang
e7b7348102 fix detecting node-addon packages (#908) 2024-05-23 19:52:19 +08:00
Fangjun Kuang
49ee458bfb Add Dart API for VAD (#904) 2024-05-22 21:56:21 +08:00
Fangjun Kuang
4f21aabd3c Fix CI for JavaScript and Python APIs. (#901) 2024-05-22 13:57:00 +08:00
Fangjun Kuang
4593ab49d1 Add Flutter example for speaker identification (#894) 2024-05-21 20:38:52 +08:00
Fangjun Kuang
b445956675 Fix CI tests. (#898) 2024-05-21 20:37:29 +08:00