Fangjun Kuang
Committed by GitHub

Release v1.11.0 (#2010)

正在显示 36 个修改的文件 包含 114 行增加80 行删除
## 1.11.0
* Fix building wheels for Python 3.7 (#1933)
* Add Kotlin and Java API for online punctuation models (#1936)
* Add Kokoro v1.1-zh (#1942)
* Support RKNN for Zipformer CTC models. (#1948)
* Add transducer modified_beam_search for RKNN. (#1949)
* Update README to include projects that is using sherpa-onnx (#1956)
* Limit number of tokens per second for whisper. (#1958)
* Ebranchformer (#1951)
* Test using sherpa-onnx as a cmake subproject (#1961)
* Add C++ demo for VAD+non-streaming ASR (#1964)
* Export gtcrn models to sherpa-onnx (#1975)
* c-api add wave write to buffer. (#1962)
* add SherpaOnnxOfflineRecognizerSetConfig binding for go, and optimize the new/free for C.struct_SherpaOnnxOfflineRecognizerConfig ptr (#1976)
* Add C++ runtime for speech enhancement GTCRN models (#1977)
* Add Python API for speech enhancement GTCRN models (#1978)
* Add C API for speech enhancement GTCRN models (#1984)
* Add CXX API for speech enhancement GTCRN models (#1986)
* Add Swift API for speech enhancement GTCRN models (#1989)
* Add C# API for speech enhancement GTCRN models (#1990)
* Add Go API for speech enhancement GTCRN models (#1991)
* Add Pascal API for speech enhancement GTCRN models (#1992)
* Add Dart API for speech enhancement GTCRN models (#1993)
* Add JavaScript (node-addon) API for speech enhancement GTCRN models (#1996)
* Add WebAssembly (WASM) for speech enhancement GTCRN models (#2002)
* Add JavaScript API (wasm) for speech enhancement GTCRN models (#2007)
* Add Kotlin API for speech enhancement GTCRN models (#2008)
* Add Java API for speech enhancement GTCRN models (#2009)
## 1.10.46
# Fix kokoro lexicon. (#1886)
# speaker-identification-with-vad-non-streaming-asr.py Lack of support for sense_voice. (#1884)
# Fix generating Chinese lexicon for Kokoro TTS 1.0 (#1888)
# Reduce vad-whisper-c-api example code. (#1891)
# JNI Exception Handling (#1452)
# Fix #1901: UnicodeEncodeError running export_bpe_vocab.py (#1902)
# Fix publishing pre-built windows libraries (#1905)
# Fixing Whisper Model Token Normalization (#1904)
# feat: add mic example for better compatibility (#1909)
# Add onnxruntime 1.18.1 for Linux aarch64 GPU (#1914)
# Add C++ API for streaming zipformer ASR on RK NPU (#1908)
# change [1<<28] to [1<<10], to fix build issues on GOARCH=386 that [1<<28] too large (#1916)
# Flutter Config toJson/fromJson (#1893)
# Fix publishing linux pre-built artifacts (#1919)
# go.mod set to use go 1.17, and use unsafe.Slice to optimize the code (#1920)
# fix: AddPunct panic for Go(#1921)
# Fix publishing macos pre-built artifacts (#1922)
# Minor fixes for rknn (#1925)
# Build wheels for rknn linux aarch64 (#1928)
* Fix kokoro lexicon. (#1886)
* speaker-identification-with-vad-non-streaming-asr.py Lack of support for sense_voice. (#1884)
* Fix generating Chinese lexicon for Kokoro TTS 1.0 (#1888)
* Reduce vad-whisper-c-api example code. (#1891)
* JNI Exception Handling (#1452)
* Fix #1901: UnicodeEncodeError running export_bpe_vocab.py (#1902)
* Fix publishing pre-built windows libraries (#1905)
* Fixing Whisper Model Token Normalization (#1904)
* feat: add mic example for better compatibility (#1909)
* Add onnxruntime 1.18.1 for Linux aarch64 GPU (#1914)
* Add C++ API for streaming zipformer ASR on RK NPU (#1908)
* change [1<<28] to [1<<10], to fix build issues on GOARCH=386 that [1<<28] too large (#1916)
* Flutter Config toJson/fromJson (#1893)
* Fix publishing linux pre-built artifacts (#1919)
* go.mod set to use go 1.17, and use unsafe.Slice to optimize the code (#1920)
* fix: AddPunct panic for Go(#1921)
* Fix publishing macos pre-built artifacts (#1922)
* Minor fixes for rknn (#1925)
* Build wheels for rknn linux aarch64 (#1928)
## 1.10.45
... ...
... ... @@ -10,7 +10,7 @@ project(sherpa-onnx)
# Remember to update
# ./CHANGELOG.md
# ./new-release.sh
set(SHERPA_ONNX_VERSION "1.10.46")
set(SHERPA_ONNX_VERSION "1.11.0")
# Disable warning about
#
... ...
... ... @@ -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.10.46/sherpa-onnx-v1.10.46-android.tar.bz2
tar xvf sherpa-onnx-v1.10.46-android.tar.bz2
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-v1.11.0-android.tar.bz2
tar xvf sherpa-onnx-v1.11.0-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.10.46.aar
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.11.0.aar
```
... ...
... ... @@ -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.10.46'
implementation 'com.github.k2-fsa:sherpa-onnx:v1.11.0'
}
... ...
... ... @@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.10.46</string>
<string>1.11.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
... ...
... ... @@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -8,7 +8,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
# 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.10.46
sherpa_onnx: ^1.11.0
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
... ...
... ... @@ -11,7 +11,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -8,7 +8,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -10,7 +10,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -5,7 +5,7 @@ description: >
publish_to: 'none'
version: 1.10.46
version: 1.11.0
topics:
- speech-recognition
... ... @@ -31,7 +31,7 @@ dependencies:
record: ^5.1.0
url_launcher: ^6.2.6
sherpa_onnx: ^1.10.46
sherpa_onnx: ^1.11.0
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
... ...
... ... @@ -5,7 +5,7 @@ description: >
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.10.46
version: 1.11.0
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.10.46
sherpa_onnx: ^1.11.0
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
url_launcher: 6.2.6
... ...
... ... @@ -17,7 +17,7 @@ topics:
- voice-activity-detection
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
version: 1.10.46
version: 1.11.0
homepage: https://github.com/k2-fsa/sherpa-onnx
... ... @@ -30,23 +30,23 @@ dependencies:
flutter:
sdk: flutter
sherpa_onnx_android: ^1.10.46
sherpa_onnx_android: ^1.11.0
# sherpa_onnx_android:
# path: ../sherpa_onnx_android
sherpa_onnx_macos: ^1.10.46
sherpa_onnx_macos: ^1.11.0
# sherpa_onnx_macos:
# path: ../sherpa_onnx_macos
sherpa_onnx_linux: ^1.10.46
sherpa_onnx_linux: ^1.11.0
# sherpa_onnx_linux:
# path: ../sherpa_onnx_linux
sherpa_onnx_windows: ^1.10.46
sherpa_onnx_windows: ^1.11.0
# sherpa_onnx_windows:
# path: ../sherpa_onnx_windows
sherpa_onnx_ios: ^1.10.46
sherpa_onnx_ios: ^1.11.0
# sherpa_onnx_ios:
# path: ../sherpa_onnx_ios
... ...
... ... @@ -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.10.46'
s.version = '1.11.0'
s.summary = 'A new Flutter FFI plugin project.'
s.description = <<-DESC
A new Flutter FFI plugin project.
... ...
... ... @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'sherpa_onnx_macos'
s.version = '1.10.46'
s.version = '1.11.0'
s.summary = 'sherpa-onnx Flutter FFI plugin project.'
s.description = <<-DESC
sherpa-onnx Flutter FFI plugin project.
... ...
/**
* Use these variables when you tailor your ArkTS code. They must be of the const type.
*/
export const HAR_VERSION = '1.10.44';
export const HAR_VERSION = '1.11.0';
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.10.46",
"sherpa_onnx": "1.11.0",
},
```
... ...
{
"name": "sherpa_onnx",
"version": "1.10.46",
"version": "1.11.0",
"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.10.46"
"sherpa_onnx": "1.11.0"
}
}
... ...
... ... @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.10.46",
"sherpa_onnx": "1.11.0",
}
}
... ...
... ... @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.10.46",
"sherpa_onnx": "1.11.0",
}
}
... ...
... ... @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.10.46",
"sherpa_onnx": "1.11.0",
}
}
... ...
# Introduction
Please download ./sherpa_onnx-v1.10.46.har
Please download ./sherpa_onnx-v1.11.0.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.10.46",
"sherpa_onnx": "1.11.0",
}
}
... ...
... ... @@ -2,8 +2,8 @@ jdk:
- openjdk17
before_install:
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.46/sherpa-onnx-1.10.46.aar
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-1.11.0.aar
install:
- FILE="-Dfile=sherpa-onnx-1.10.46.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.10.46 -Dpackaging=aar -DgeneratePom=true
- FILE="-Dfile=sherpa-onnx-1.11.0.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.11.0 -Dpackaging=aar -DgeneratePom=true
... ...
... ... @@ -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.10.46/sherpa-onnx-non-streaming-asr-x64-v1.10.46.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.46/sherpa-onnx-non-streaming-asr-x86-v1.10.46.exe)| Non-streaming speech recognition|
|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.46/sherpa-onnx-streaming-asr-x64-v1.10.46.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.46/sherpa-onnx-streaming-asr-x86-v1.10.46.exe)| Streaming speech recognition|
|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.46/sherpa-onnx-non-streaming-tts-x64-v1.10.46.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.46/sherpa-onnx-non-streaming-tts-x86-v1.10.46.exe)| Non-streaming text to speech|
|[./NonStreamingSpeechRecognition](./NonStreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-non-streaming-asr-x64-v1.11.0.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-non-streaming-asr-x86-v1.11.0.exe)| Non-streaming speech recognition|
|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-streaming-asr-x64-v1.11.0.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-streaming-asr-x86-v1.11.0.exe)| Streaming speech recognition|
|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-non-streaming-tts-x64-v1.11.0.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-non-streaming-tts-x86-v1.11.0.exe)| Non-streaming text to speech|
Caution: You need to use Windows and install Visual Studio 2022 in order to
compile it.
... ...
... ... @@ -2,23 +2,23 @@
set -ex
sed -i.bak 's/1\.10\.45/1\.10\.46/g' ./build-ios-shared.sh
sed -i.bak 's/1\.10\.45/1\.10\.46/g' ./pom.xml
sed -i.bak 's/1\.10\.45/1\.10\.46/g' ./jitpack.yml
sed -i.bak 's/1\.10\.45/1\.10\.46/g' ./android/SherpaOnnxAar/README.md
sed -i.bak 's/1\.10\.46/1\.11\.0/g' ./build-ios-shared.sh
sed -i.bak 's/1\.10\.46/1\.11\.0/g' ./pom.xml
sed -i.bak 's/1\.10\.46/1\.11\.0/g' ./jitpack.yml
sed -i.bak 's/1\.10\.46/1\.11\.0/g' ./android/SherpaOnnxAar/README.md
find android -name build.gradle -type f -exec sed -i.bak 's/sherpa-onnx:v1\.10\.45/sherpa-onnx:v1\.10\.46/g' {} \;
find android -name build.gradle -type f -exec sed -i.bak 's/sherpa-onnx:v1\.10\.46/sherpa-onnx:v1\.11\.0/g' {} \;
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find nodejs-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find nodejs-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find mfc-examples -name "README.md" -type f -exec sed -i.bak 's/1\.10\.45/1\.10\.46/g' {} \;
find mfc-examples -name "README.md" -type f -exec sed -i.bak 's/1\.10\.46/1\.11\.0/g' {} \;
find . -name "*.bak" -exec rm {} \;
... ...
{
"dependencies": {
"sherpa-onnx-node": "^1.10.46"
"sherpa-onnx-node": "^1.11.0"
}
}
... ...
... ... @@ -2,7 +2,7 @@
"dependencies": {
"mic": "^2.1.2",
"naudiodon2": "^2.4.0",
"sherpa-onnx": "^1.10.46",
"sherpa-onnx": "^1.11.0",
"wav": "^1.0.2"
}
}
... ...
... ... @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.k2fsa.sherpa.onnx</groupId>
<artifactId>sherpa-onnx-android</artifactId>
<version>1.10.46</version>
<version>1.11.0</version>
<url>https://github.com/k2-fsa/sherpa-onnx</url>
<packaging>pom</packaging>
<description>First Android Library</description>
... ...