Release v1.13.4 (#3730)

This commit is contained in:
Fangjun Kuang authored and GitHub committed 2026-07-07 19:21:34 +08:00
1 parent 753609d0f4
commit 1428072526
81 files changed
+171 -150

No files matched your search

+21
View File
@@ -1,3 +1,24 @@
## 1.13.4
* Add ApplyHomophoneReplacer in OfflineRecognizerQwen3ASRImpl (#3729)
* Add C++ runtime for nemotron-speech-streaming-en-0.6b with QNN (#3728)
* Export nemotron-speech-streaming-en-0.6b to QNN (#3725)
* Add C++ runtime for Parakeet TDT models with QNN (#3720)
* Export Parakeet TDT models to QNN (#3719)
* Update onnxruntime to 1.27.0 (#3718)
* Remove leading spaces from ASR results (#3711)
* Fix file related operations on Windows by using wide characters (#3710)
* Remove spaces right before a punctuation in ASR result (#3709)
* Fix installing espeak-ng-data directory (#3708)
* Fix building with ninja (#3702)
* Add C++ runtime for Whisper with Qualcomm NPU using QNN (#3699)
* Export Whisper models to QNN (#3697)
* Export the transducer branch of parakeet-tdt-ctc to QNN (#3693)
* Export Parakeet-TDT-CTC to QNN (#3692)
* Add C++ runtime for Parakeet CTC with QNN (#3688)
* Export Parakeet CTC models to QNN (#3686)
* Support per-stream hotwords in the JavaScript (node-addon) API (#3723)
## 1.13.3
* Update onnxruntime to 1.26.0 for iOS (#3678)
+1 -1
View File
@@ -28,7 +28,7 @@ project(sherpa-onnx)
# Remember to update
# ./CHANGELOG.md
# ./new-release.sh
set(SHERPA_ONNX_VERSION "1.13.3")
set(SHERPA_ONNX_VERSION "1.13.4")
# Disable warning about
#
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260608
versionName "1.13.3"
versionCode 20260707
versionName "1.13.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260608
versionName "1.13.3"
versionCode 20260707
versionName "1.13.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
+3 -3
View File
@@ -4,8 +4,8 @@
git clone https://github.com/k2-fsa/sherpa-onnx
cd sherpa-onnx
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-android.tar.bz2
tar xvf sherpa-onnx-v1.13.3-android.tar.bz2
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-android.tar.bz2
tar xvf sherpa-onnx-v1.13.4-android.tar.bz2
cp -v jniLibs/arm64-v8a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/arm64-v8a/
cp -v jniLibs/armeabi-v7a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/armeabi-v7a/
@@ -16,5 +16,5 @@ cd android/SherpaOnnxAar
./gradlew :sherpa_onnx:assembleRelease
ls -lh ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.13.3.aar
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.13.4.aar
```
@@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.audio.tagging"
minSdk = 21
targetSdk = 34
versionCode = 20260608
versionName = "1.13.3"
versionCode = 20260707
versionName = "1.13.4"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
@@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.audio.tagging.wear.os"
minSdk = 26
targetSdk = 34
versionCode = 20260608
versionName = "1.13.3"
versionCode = 20260707
versionName = "1.13.4"
vectorDrawables {
useSupportLibrary = true
}
+3 -3
View File
@@ -9,8 +9,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 28
targetSdk 34
versionCode 20260608
versionName "1.13.3"
versionCode 20260707
versionName "1.13.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
@@ -34,5 +34,5 @@ dependencies {
implementation 'pub.devrel:easypermissions:3.0.0'
implementation 'androidx.core:core-ktx:1.7.0'
// implementation files('/Users/fangjun/open-source/sherpa-onnx/android/SherpaOnnxAar/sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar')
implementation 'com.github.k2-fsa:sherpa-onnx:v1.13.3'
implementation 'com.github.k2-fsa:sherpa-onnx:v1.13.4'
}
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260608
versionName "1.13.3"
versionCode 20260707
versionName "1.13.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
@@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.simulate.streaming.asr"
minSdk = 21
targetSdk = 34
versionCode = 20260608
versionName = "1.13.3"
versionCode = 20260707
versionName = "1.13.4"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
@@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.simulate.streaming.asr.wear.os"
minSdk = 28
targetSdk = 34
versionCode = 20260608
versionName = "1.13.3"
versionCode = 20260707
versionName = "1.13.4"
vectorDrawables {
useSupportLibrary = true
}
@@ -58,7 +58,7 @@ dependencies {
implementation(libs.compose.foundation)
implementation(libs.activity.compose)
implementation(libs.core.splashscreen)
implementation("com.github.k2-fsa:sherpa-onnx:v1.13.3")
implementation("com.github.k2-fsa:sherpa-onnx:v1.13.4")
androidTestImplementation(platform(libs.compose.bom))
androidTestImplementation(libs.ui.test.junit4)
debugImplementation(libs.ui.tooling)
@@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.speaker.diarization"
minSdk = 21
targetSdk = 34
versionCode = 20260608
versionName = "1.13.3"
versionCode = 20260707
versionName = "1.13.4"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
@@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.speaker.identification"
minSdk = 21
targetSdk = 34
versionCode = 20260608
versionName = "1.13.3"
versionCode = 20260707
versionName = "1.13.4"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
@@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.slid"
minSdk = 21
targetSdk = 34
versionCode = 20260608
versionName = "1.13.3"
versionCode = 20260707
versionName = "1.13.4"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260608
versionName "1.13.3"
versionCode 20260707
versionName "1.13.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
@@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.tts.engine"
minSdk = 21
targetSdk = 34
versionCode = 20260608
versionName = "1.13.3"
versionCode = 20260707
versionName = "1.13.4"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 33
versionCode 20260608
versionName "1.13.3"
versionCode 20260707
versionName "1.13.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 33
versionCode 20260608
versionName "1.13.3"
versionCode 20260707
versionName "1.13.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260608
versionName "1.13.3"
versionCode 20260707
versionName "1.13.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
+1 -1
View File
@@ -247,7 +247,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.13.3</string>
<string>1.13.4</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
path: ^1.9.0
args: ^2.5.0
+1 -1
View File
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
path: ^1.9.0
args: ^2.5.0
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
path: ^1.9.0
args: ^2.5.0
@@ -8,7 +8,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
path: ^1.9.0
args: ^2.5.0
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
+1 -1
View File
@@ -11,7 +11,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
path: ^1.9.0
args: ^2.5.0
@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
+1 -1
View File
@@ -8,7 +8,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
path: ^1.9.0
args: ^2.5.0
@@ -10,7 +10,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
path: ^1.9.0
args: ^2.5.0
+1 -1
View File
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
path: ^1.9.0
args: ^2.5.0
@@ -5,7 +5,7 @@ description: >
publish_to: 'none'
version: 1.13.3
version: 1.13.4
topics:
- speech-recognition
@@ -31,7 +31,7 @@ dependencies:
record: 6.0.0
url_launcher: ^6.2.6
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
+2 -2
View File
@@ -5,7 +5,7 @@ description: >
publish_to: 'none'
version: 1.13.3
version: 1.13.4
topics:
- speech-recognition
@@ -30,7 +30,7 @@ dependencies:
record: ^6.1.2
url_launcher: ^6.2.6
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
+2 -2
View File
@@ -5,7 +5,7 @@ description: >
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.13.3
version: 1.13.4
environment:
sdk: ">=2.17.0 <4.0.0"
@@ -18,7 +18,7 @@ dependencies:
cupertino_icons: ^1.0.6
path_provider: ^2.1.3
path: ^1.9.0
sherpa_onnx: ^1.13.3
sherpa_onnx: ^1.13.4
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
url_launcher: 6.2.6
+9 -9
View File
@@ -17,7 +17,7 @@ topics:
- voice-activity-detection
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
version: 1.13.3
version: 1.13.4
homepage: https://github.com/k2-fsa/sherpa-onnx
@@ -30,35 +30,35 @@ dependencies:
flutter:
sdk: flutter
sherpa_onnx_android_arm64: ^1.13.3
sherpa_onnx_android_arm64: ^1.13.4
# sherpa_onnx_android_arm64:
# path: ../sherpa_onnx_android_arm64
sherpa_onnx_android_armeabi: ^1.13.3
sherpa_onnx_android_armeabi: ^1.13.4
# sherpa_onnx_android_armeabi:
# path: ../sherpa_onnx_android_armeabi
sherpa_onnx_android_x86: ^1.13.3
sherpa_onnx_android_x86: ^1.13.4
# sherpa_onnx_android_x86:
# path: ../sherpa_onnx_android_x86
sherpa_onnx_android_x86_64: ^1.13.3
sherpa_onnx_android_x86_64: ^1.13.4
# sherpa_onnx_android_x86_64:
# path: ../sherpa_onnx_android_x86_64
sherpa_onnx_macos: ^1.13.3
sherpa_onnx_macos: ^1.13.4
# sherpa_onnx_macos:
# path: ../sherpa_onnx_macos
sherpa_onnx_linux: ^1.13.3
sherpa_onnx_linux: ^1.13.4
# sherpa_onnx_linux:
# path: ../sherpa_onnx_linux
sherpa_onnx_windows: ^1.13.3
sherpa_onnx_windows: ^1.13.4
# sherpa_onnx_windows:
# path: ../sherpa_onnx_windows
sherpa_onnx_ios: ^1.13.3
sherpa_onnx_ios: ^1.13.4
# sherpa_onnx_ios:
# path: ../sherpa_onnx_ios
+1 -1
View File
@@ -4,7 +4,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
@@ -4,7 +4,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection. Android arm64-v8a native libraries.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
@@ -4,7 +4,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection. Android armeabi-v7a native libraries.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
+1 -1
View File
@@ -4,7 +4,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection. Android x86 native libraries.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
@@ -4,7 +4,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection. Android x86_64 native libraries.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
@@ -7,7 +7,7 @@
# https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
Pod::Spec.new do |s|
s.name = 'sherpa_onnx_ios'
s.version = '1.13.3'
s.version = '1.13.4'
s.summary = 'A new Flutter FFI plugin project.'
s.description = <<-DESC
A new Flutter FFI plugin project.
+1 -1
View File
@@ -4,7 +4,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
+1 -1
View File
@@ -3,7 +3,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
@@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'sherpa_onnx_macos'
s.version = '1.13.3'
s.version = '1.13.4'
s.summary = 'sherpa-onnx Flutter FFI plugin project.'
s.description = <<-DESC
sherpa-onnx Flutter FFI plugin project.
+1 -1
View File
@@ -4,7 +4,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
+1 -1
View File
@@ -4,7 +4,7 @@ description: >
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
with onnxruntime without Internet connection.
version: 1.13.3
version: 1.13.4
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter
@@ -1,7 +1,7 @@
/**
* Use these variables when you tailor your ArkTS code. They must be of the const type.
*/
export const HAR_VERSION = '1.13.3';
export const HAR_VERSION = '1.13.4';
export const BUILD_MODE_NAME = 'debug';
export const DEBUG = true;
export const TARGET_NAME = 'default';
@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
```
"dependencies": {
"sherpa_onnx": "1.13.3",
"sherpa_onnx": "1.13.4",
},
```
@@ -1,6 +1,6 @@
{
"name": "sherpa_onnx",
"version": "1.13.3",
"version": "1.13.4",
"description": "On-device speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without Internet connection",
"main": "Index.ets",
"author": "The next-gen Kaldi team",
@@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.13.3"
"sherpa_onnx": "1.13.4"
}
}
@@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.13.3",
"sherpa_onnx": "1.13.4",
}
}
@@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.13.3",
"sherpa_onnx": "1.13.4",
}
}
@@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.13.3",
"sherpa_onnx": "1.13.4",
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
# Introduction
Please download ./sherpa_onnx-v1.13.3.har
Please download ./sherpa_onnx-v1.13.4.har
from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>
Hint: For users who have no access to huggingface, please use
@@ -7,7 +7,7 @@
"license": "",
"dependencies": {
// please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
"sherpa_onnx": "1.13.3",
"sherpa_onnx": "1.13.4",
}
}
+3 -3
View File
@@ -2,8 +2,8 @@ jdk:
- openjdk17
before_install:
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-1.13.3.aar
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-1.13.4.aar
install:
- FILE="-Dfile=sherpa-onnx-1.13.3.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.13.3 -Dpackaging=aar -DgeneratePom=true
- FILE="-Dfile=sherpa-onnx-1.13.4.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.13.4 -Dpackaging=aar -DgeneratePom=true
+3 -3
View File
@@ -5,9 +5,9 @@ for speech recognition.
|Directory| Pre-built exe (x64)|Pre-built exe (x86)| Description|
|---------|--------------------|-------------------|------------|
|[./NonStreamingSpeechRecognition](./NonStreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-non-streaming-asr-x64-v1.13.3.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-non-streaming-asr-x86-v1.13.3.exe)| Non-streaming speech recognition|
|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-streaming-asr-x64-v1.13.3.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-streaming-asr-x86-v1.13.3.exe)| Streaming speech recognition|
|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-non-streaming-tts-x64-v1.13.3.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-non-streaming-tts-x86-v1.13.3.exe)| Non-streaming text to speech|
|[./NonStreamingSpeechRecognition](./NonStreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-non-streaming-asr-x64-v1.13.4.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-non-streaming-asr-x86-v1.13.4.exe)| Non-streaming speech recognition|
|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-streaming-asr-x64-v1.13.4.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-streaming-asr-x86-v1.13.4.exe)| Streaming speech recognition|
|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-non-streaming-tts-x64-v1.13.4.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-non-streaming-tts-x86-v1.13.4.exe)| Non-streaming text to speech|
Caution: You need to use Windows and install Visual Studio 2022 in order to
compile it.
+4 -4
View File
@@ -4,11 +4,11 @@ set -ex
cd "$(dirname "$0")"
old_version_code=20260513
new_version_code=20260608
old_version_code=20260608
new_version_code=20260707
old_version="1\.13\.2"
new_version="1\.13\.3"
old_version="1\.13\.3"
new_version="1\.13\.4"
replace_str="s/$old_version/$new_version/g"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"dependencies": {
"node-cpal": "^0.1.1",
"sherpa-onnx-node": "^1.13.3"
"sherpa-onnx-node": "^1.13.4"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
"dependencies": {
"mic": "^2.1.2",
"naudiodon2": "^2.4.0",
"sherpa-onnx": "^1.13.3",
"sherpa-onnx": "^1.13.4",
"wav": "^1.0.2"
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.k2fsa.sherpa.onnx</groupId>
<artifactId>sherpa-onnx-android</artifactId>
<version>1.13.3</version>
<version>1.13.4</version>
<url>https://github.com/k2-fsa/sherpa-onnx</url>
<packaging>pom</packaging>
<description>First Android Library</description>
+2 -2
View File
@@ -1,12 +1,12 @@
[package]
name = "rust-api-examples"
version = "1.13.3"
version = "1.13.4"
edition = "2021"
[dependencies]
anyhow = "1.0"
clap = { version = "4.5", features = ["derive"] }
sherpa-onnx = { version = "1.13.3", default-features = false }
sherpa-onnx = { version = "1.13.4", default-features = false }
# sherpa-onnx = { path = "../sherpa-onnx/rust/sherpa-onnx", default-features = false }
serde_json = "1.0"
+13 -13
View File
@@ -22,7 +22,7 @@ Examples:
- source build output: `/path/to/sherpa-onnx/build/install/lib`
- manually extracted release archive:
`/path/to/sherpa-onnx-v1.13.3-linux-x64-static-lib/lib`
`/path/to/sherpa-onnx-v1.13.4-linux-x64-static-lib/lib`
If `SHERPA_ONNX_LIB_DIR` is set, the build script uses that directory and does
not auto-download another archive.
@@ -42,11 +42,11 @@ Most users just get this behavior automatically.
| OS | Architecture | Archive example |
|----|--------------|-----------------|
| Linux | x86_64 | `sherpa-onnx-v1.13.3-linux-x64-static-lib.tar.bz2` |
| Linux | aarch64 | `sherpa-onnx-v1.13.3-linux-aarch64-static-lib.tar.bz2` |
| macOS | x86_64 | `sherpa-onnx-v1.13.3-osx-x64-static-lib.tar.bz2` |
| macOS | arm64 | `sherpa-onnx-v1.13.3-osx-arm64-static-lib.tar.bz2` |
| Windows | x86_64 | `sherpa-onnx-v1.13.3-win-x64-static-MT-Release-lib.tar.bz2` |
| Linux | x86_64 | `sherpa-onnx-v1.13.4-linux-x64-static-lib.tar.bz2` |
| Linux | aarch64 | `sherpa-onnx-v1.13.4-linux-aarch64-static-lib.tar.bz2` |
| macOS | x86_64 | `sherpa-onnx-v1.13.4-osx-x64-static-lib.tar.bz2` |
| macOS | arm64 | `sherpa-onnx-v1.13.4-osx-arm64-static-lib.tar.bz2` |
| Windows | x86_64 | `sherpa-onnx-v1.13.4-win-x64-static-MT-Release-lib.tar.bz2` |
### Shared mode
@@ -55,11 +55,11 @@ archives instead:
| OS | Architecture | Archive example |
|----|--------------|-----------------|
| Linux | x86_64 | `sherpa-onnx-v1.13.3-linux-x64-shared-lib.tar.bz2` |
| Linux | aarch64 | `sherpa-onnx-v1.13.3-linux-aarch64-shared-cpu-lib.tar.bz2` |
| macOS | x86_64 | `sherpa-onnx-v1.13.3-osx-x64-shared-lib.tar.bz2` |
| macOS | arm64 | `sherpa-onnx-v1.13.3-osx-arm64-shared-lib.tar.bz2` |
| Windows | x86_64 | `sherpa-onnx-v1.13.3-win-x64-shared-MT-Release-lib.tar.bz2` |
| Linux | x86_64 | `sherpa-onnx-v1.13.4-linux-x64-shared-lib.tar.bz2` |
| Linux | aarch64 | `sherpa-onnx-v1.13.4-linux-aarch64-shared-cpu-lib.tar.bz2` |
| macOS | x86_64 | `sherpa-onnx-v1.13.4-osx-x64-shared-lib.tar.bz2` |
| macOS | arm64 | `sherpa-onnx-v1.13.4-osx-arm64-shared-lib.tar.bz2` |
| Windows | x86_64 | `sherpa-onnx-v1.13.4-win-x64-shared-MT-Release-lib.tar.bz2` |
In practice, use the latest release tag instead of the example version above.
@@ -71,7 +71,7 @@ This is enough for most users:
```toml
[dependencies]
sherpa-onnx = "1.13.3"
sherpa-onnx = "1.13.4"
```
That uses the crate's default feature set.
@@ -82,7 +82,7 @@ To use shared libraries instead, disable default features and enable `shared`:
```toml
[dependencies]
sherpa-onnx = { version = "1.13.3", default-features = false, features = ["shared"] }
sherpa-onnx = { version = "1.13.4", default-features = false, features = ["shared"] }
```
From the command line, the equivalent example command is:
+2 -2
View File
@@ -13,7 +13,7 @@ print("bin_files", bin_files)
setup(
name="sherpa-onnx-bin",
version="1.13.3",
version="1.13.4",
description="Binary executables for sherpa-onnx",
author="The sherpa-onnx development team",
url="https://github.com/k2-fsa/sherpa-onnx",
@@ -23,7 +23,7 @@ setup(
packages=[],
data_files=[("Scripts", bin_files) if is_windows() else ("bin", bin_files)],
install_requires=[
"sherpa-onnx-core==1.13.3",
"sherpa-onnx-core==1.13.4",
],
classifiers=[
"Programming Language :: Python :: 3",
+1 -1
View File
@@ -23,7 +23,7 @@ def get_binaries():
setup(
name="sherpa-onnx-core",
version="1.13.3",
version="1.13.4",
description="Core shared libraries for sherpa-onnx",
packages=["sherpa_onnx"],
include_package_data=True,
+1 -1
View File
@@ -109,7 +109,7 @@ setuptools.setup(
],
},
license="Apache licensed, as found in the LICENSE file",
install_requires=["sherpa-onnx-core==1.13.3"] if need_split_package() else None,
install_requires=["sherpa-onnx-core==1.13.4"] if need_split_package() else None,
)
with open("sherpa-onnx/python/sherpa_onnx/__init__.py", "r") as f:
+3 -3
View File
@@ -7,17 +7,17 @@
namespace sherpa_onnx {
const char *GetGitDate() {
static const char *date = "Mon Jun 15 15:20:32 2026";
static const char *date = "Tue Jul 7 19:00:41 2026";
return date;
}
const char *GetGitSha1() {
static const char *sha1 = "6bcb4f51";
static const char *sha1 = "753609d0";
return sha1;
}
const char *GetVersionStr() {
static const char *version = "1.13.3";
static const char *version = "1.13.4";
return version;
}
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "sherpa-onnx-sys"
version = "1.13.3"
version = "1.13.4"
edition = "2021"
description = "Raw FFI bindings to the sherpa-onnx C API"
license = "Apache-2.0"
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "sherpa-onnx"
version = "1.13.3"
version = "1.13.4"
edition = "2021"
description = "Safe Rust wrapper for sherpa-onnx speech recognition toolkit"
license = "Apache-2.0"
@@ -25,7 +25,7 @@ static = ["sherpa-onnx-sys/static"]
shared = ["sherpa-onnx-sys/shared"]
[dependencies]
sherpa-onnx-sys = { path = "../sherpa-onnx-sys", version = "1.13.3", default-features = false }
sherpa-onnx-sys = { path = "../sherpa-onnx-sys", version = "1.13.4", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
+2 -2
View File
@@ -8,7 +8,7 @@ For most users, this is enough:
```toml
[dependencies]
sherpa-onnx = "1.13.3"
sherpa-onnx = "1.13.4"
```
The default Rust configuration uses **static** linking.
@@ -26,7 +26,7 @@ To use **shared** libraries instead of the default static mode:
```toml
[dependencies]
sherpa-onnx = { version = "1.13.3", default-features = false, features = ["shared"] }
sherpa-onnx = { version = "1.13.4", default-features = false, features = ["shared"] }
```
When shared libraries are used:
+13 -13
View File
@@ -23,14 +23,14 @@
//! In other words, the default setup for most users is simply:
//!
//! ```toml
//! sherpa-onnx = "1.13.3"
//! sherpa-onnx = "1.13.4"
//! ```
//!
//! If you want shared libraries instead, disable the default feature and enable
//! `shared`:
//!
//! ```toml
//! sherpa-onnx = { version = "1.13.3", default-features = false, features = ["shared"] }
//! sherpa-onnx = { version = "1.13.4", default-features = false, features = ["shared"] }
//! ```
//!
//! For advanced use cases, set `SHERPA_ONNX_LIB_DIR` to a directory that already
@@ -53,33 +53,33 @@
//! So most users do not need to manually set `LD_LIBRARY_PATH` or
//! `DYLD_LIBRARY_PATH`.
//!
//! Example `v1.13.3` archives used by the build script:
//! Example `v1.13.4` archives used by the build script:
//!
//! Default static archives:
//!
//! - Linux x86_64:
//! [sherpa-onnx-v1.13.3-linux-x64-static-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-linux-x64-static-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-linux-x64-static-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-linux-x64-static-lib.tar.bz2)
//! - Linux aarch64:
//! [sherpa-onnx-v1.13.3-linux-aarch64-static-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-linux-aarch64-static-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-linux-aarch64-static-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-linux-aarch64-static-lib.tar.bz2)
//! - macOS x86_64:
//! [sherpa-onnx-v1.13.3-osx-x64-static-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-osx-x64-static-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-osx-x64-static-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-osx-x64-static-lib.tar.bz2)
//! - macOS arm64:
//! [sherpa-onnx-v1.13.3-osx-arm64-static-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-osx-arm64-static-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-osx-arm64-static-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-osx-arm64-static-lib.tar.bz2)
//! - Windows x64:
//! [sherpa-onnx-v1.13.3-win-x64-static-MT-Release-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-win-x64-static-MT-Release-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-win-x64-static-MT-Release-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-win-x64-static-MT-Release-lib.tar.bz2)
//!
//! Optional shared archives:
//!
//! - Linux x86_64:
//! [sherpa-onnx-v1.13.3-linux-x64-shared-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-linux-x64-shared-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-linux-x64-shared-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-linux-x64-shared-lib.tar.bz2)
//! - Linux aarch64:
//! [sherpa-onnx-v1.13.3-linux-aarch64-shared-cpu-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-linux-aarch64-shared-cpu-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-linux-aarch64-shared-cpu-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-linux-aarch64-shared-cpu-lib.tar.bz2)
//! - macOS x86_64:
//! [sherpa-onnx-v1.13.3-osx-x64-shared-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-osx-x64-shared-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-osx-x64-shared-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-osx-x64-shared-lib.tar.bz2)
//! - macOS arm64:
//! [sherpa-onnx-v1.13.3-osx-arm64-shared-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-osx-arm64-shared-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-osx-arm64-shared-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-osx-arm64-shared-lib.tar.bz2)
//! - Windows x64:
//! [sherpa-onnx-v1.13.3-win-x64-shared-MT-Release-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.3/sherpa-onnx-v1.13.3-win-x64-shared-MT-Release-lib.tar.bz2)
//! [sherpa-onnx-v1.13.4-win-x64-shared-MT-Release-lib.tar.bz2](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.13.4/sherpa-onnx-v1.13.4-win-x64-shared-MT-Release-lib.tar.bz2)
//!
//! # How the Rust API is organized
//!
@@ -1,7 +1,7 @@
{
"name": "non-streaming-speech-recognition-from-file",
"private": true,
"version": "1.13.3",
"version": "1.13.4",
"type": "module",
"scripts": {
"dev": "tauri dev",
@@ -1,6 +1,6 @@
[package]
name = "non-streaming-speech-recognition-from-file"
version = "1.13.3"
version = "1.13.4"
description = "Non-streaming speech recognition from file with VAD"
edition = "2021"
@@ -16,7 +16,7 @@ tauri = { version = "2", features = ["protocol-asset"] }
tauri-plugin-dialog = "2"
tauri-plugin-shell = "2"
serde = { version = "1", features = ["derive"] }
sherpa-onnx = { version = "1.13.3", default-features = false }
sherpa-onnx = { version = "1.13.4", default-features = false }
# sherpa-onnx = { path = "../../../sherpa-onnx/rust/sherpa-onnx", default-features = false }
# sherpa-onnx = { path = "../../../sherpa-onnx/rust/sherpa-onnx", default-features = false, features = ["static"] }
# sherpa-onnx = { path = "../../../sherpa-onnx/rust/sherpa-onnx", default-features = false, features = ["shared"] }
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "non-streaming-speech-recognition-from-file",
"version": "1.13.3",
"version": "1.13.4",
"identifier": "com.k2fsa.sherpa.onnx.asr.file",
"build": {
"frontendDist": "../src"
@@ -1,7 +1,7 @@
{
"name": "non-streaming-speech-recognition-from-microphone",
"private": true,
"version": "1.13.3",
"version": "1.13.4",
"type": "module",
"scripts": {
"dev": "tauri dev",
@@ -1,6 +1,6 @@
[package]
name = "non-streaming-speech-recognition-from-microphone"
version = "1.13.3"
version = "1.13.4"
description = "Non-streaming speech recognition from microphone with VAD"
edition = "2021"
@@ -16,7 +16,7 @@ tauri = { version = "2", features = ["protocol-asset"] }
tauri-plugin-dialog = "2"
tauri-plugin-shell = "2"
serde = { version = "1", features = ["derive"] }
sherpa-onnx = { version = "1.13.3", default-features = false }
sherpa-onnx = { version = "1.13.4", default-features = false }
# sherpa-onnx = { path = "../../../sherpa-onnx/rust/sherpa-onnx", default-features = false }
# cpal: cross-platform audio I/O — works on Linux (ALSA/PulseAudio), macOS (CoreAudio), Windows (WASAPI).
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "non-streaming-speech-recognition-from-microphone",
"version": "1.13.3",
"version": "1.13.4",
"identifier": "com.k2fsa.sherpa.onnx.asr.microphone",
"build": {
"frontendDist": "../src"