Release v1.11.0 (#2010)

This commit is contained in:
Fangjun Kuang
2025-03-16 15:27:36 +08:00
committed by GitHub
parent 71824992a7
commit f110c776ac
36 changed files with 114 additions and 80 deletions

View File

@@ -1,24 +1,58 @@
## 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 ## 1.10.46
# Fix kokoro lexicon. (#1886) * Fix kokoro lexicon. (#1886)
# speaker-identification-with-vad-non-streaming-asr.py Lack of support for sense_voice. (#1884) * 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) * Fix generating Chinese lexicon for Kokoro TTS 1.0 (#1888)
# Reduce vad-whisper-c-api example code. (#1891) * Reduce vad-whisper-c-api example code. (#1891)
# JNI Exception Handling (#1452) * JNI Exception Handling (#1452)
# Fix #1901: UnicodeEncodeError running export_bpe_vocab.py (#1902) * Fix #1901: UnicodeEncodeError running export_bpe_vocab.py (#1902)
# Fix publishing pre-built windows libraries (#1905) * Fix publishing pre-built windows libraries (#1905)
# Fixing Whisper Model Token Normalization (#1904) * Fixing Whisper Model Token Normalization (#1904)
# feat: add mic example for better compatibility (#1909) * feat: add mic example for better compatibility (#1909)
# Add onnxruntime 1.18.1 for Linux aarch64 GPU (#1914) * Add onnxruntime 1.18.1 for Linux aarch64 GPU (#1914)
# Add C++ API for streaming zipformer ASR on RK NPU (#1908) * 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) * change [1<<28] to [1<<10], to fix build issues on GOARCH=386 that [1<<28] too large (#1916)
# Flutter Config toJson/fromJson (#1893) * Flutter Config toJson/fromJson (#1893)
# Fix publishing linux pre-built artifacts (#1919) * Fix publishing linux pre-built artifacts (#1919)
# go.mod set to use go 1.17, and use unsafe.Slice to optimize the code (#1920) * go.mod set to use go 1.17, and use unsafe.Slice to optimize the code (#1920)
# fix: AddPunct panic for Go(#1921) * fix: AddPunct panic for Go(#1921)
# Fix publishing macos pre-built artifacts (#1922) * Fix publishing macos pre-built artifacts (#1922)
# Minor fixes for rknn (#1925) * Minor fixes for rknn (#1925)
# Build wheels for rknn linux aarch64 (#1928) * Build wheels for rknn linux aarch64 (#1928)
## 1.10.45 ## 1.10.45

View File

@@ -10,7 +10,7 @@ project(sherpa-onnx)
# Remember to update # Remember to update
# ./CHANGELOG.md # ./CHANGELOG.md
# ./new-release.sh # ./new-release.sh
set(SHERPA_ONNX_VERSION "1.10.46") set(SHERPA_ONNX_VERSION "1.11.0")
# Disable warning about # Disable warning about
# #

View File

@@ -4,8 +4,8 @@
git clone https://github.com/k2-fsa/sherpa-onnx git clone https://github.com/k2-fsa/sherpa-onnx
cd 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 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.10.46-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/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/ 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 ./gradlew :sherpa_onnx:assembleRelease
ls -lh ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar 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
``` ```

View File

@@ -34,5 +34,5 @@ dependencies {
implementation 'pub.devrel:easypermissions:3.0.0' implementation 'pub.devrel:easypermissions:3.0.0'
implementation 'androidx.core:core-ktx:1.7.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 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'
} }

View File

@@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.10.46</string> <string>1.11.0</string>
<key>CFBundleSupportedPlatforms</key> <key>CFBundleSupportedPlatforms</key>
<array> <array>
<string>iPhoneOS</string> <string>iPhoneOS</string>

View File

@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0" sdk: ">=3.0.0 <4.0.0"
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0" sdk: ">=3.0.0 <4.0.0"
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0" sdk: ">=3.0.0 <4.0.0"
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
# sherpa_onnx: # sherpa_onnx:
# path: ../../flutter/sherpa_onnx # path: ../../flutter/sherpa_onnx
path: ^1.9.0 path: ^1.9.0

View File

@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here. # Add regular dependencies here.
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -8,7 +8,7 @@ environment:
sdk: ">=3.0.0 <4.0.0" sdk: ">=3.0.0 <4.0.0"
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
# sherpa_onnx: # sherpa_onnx:
# path: ../../flutter/sherpa_onnx # path: ../../flutter/sherpa_onnx
path: ^1.9.0 path: ^1.9.0

View File

@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0" sdk: ">=3.0.0 <4.0.0"
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here. # Add regular dependencies here.
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
# sherpa_onnx: # sherpa_onnx:
# path: ../../flutter/sherpa_onnx # path: ../../flutter/sherpa_onnx
path: ^1.9.0 path: ^1.9.0

View File

@@ -11,7 +11,7 @@ environment:
# Add regular dependencies here. # Add regular dependencies here.
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -8,7 +8,7 @@ environment:
# Add regular dependencies here. # Add regular dependencies here.
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -10,7 +10,7 @@ environment:
sdk: ">=3.0.0 <4.0.0" sdk: ">=3.0.0 <4.0.0"
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0" sdk: ">=3.0.0 <4.0.0"
dependencies: dependencies:
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -5,7 +5,7 @@ description: >
publish_to: 'none' publish_to: 'none'
version: 1.10.46 version: 1.11.0
topics: topics:
- speech-recognition - speech-recognition
@@ -31,7 +31,7 @@ dependencies:
record: ^5.1.0 record: ^5.1.0
url_launcher: ^6.2.6 url_launcher: ^6.2.6
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
# sherpa_onnx: # sherpa_onnx:
# path: ../../flutter/sherpa_onnx # path: ../../flutter/sherpa_onnx

View File

@@ -5,7 +5,7 @@ description: >
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.10.46 version: 1.11.0
environment: environment:
sdk: ">=2.17.0 <4.0.0" sdk: ">=2.17.0 <4.0.0"
@@ -18,7 +18,7 @@ dependencies:
cupertino_icons: ^1.0.6 cupertino_icons: ^1.0.6
path_provider: ^2.1.3 path_provider: ^2.1.3
path: ^1.9.0 path: ^1.9.0
sherpa_onnx: ^1.10.46 sherpa_onnx: ^1.11.0
# sherpa_onnx: # sherpa_onnx:
# path: ../../flutter/sherpa_onnx # path: ../../flutter/sherpa_onnx
url_launcher: 6.2.6 url_launcher: 6.2.6

View File

@@ -17,7 +17,7 @@ topics:
- voice-activity-detection - voice-activity-detection
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec # 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 homepage: https://github.com/k2-fsa/sherpa-onnx
@@ -30,23 +30,23 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
sherpa_onnx_android: ^1.10.46 sherpa_onnx_android: ^1.11.0
# sherpa_onnx_android: # sherpa_onnx_android:
# path: ../sherpa_onnx_android # path: ../sherpa_onnx_android
sherpa_onnx_macos: ^1.10.46 sherpa_onnx_macos: ^1.11.0
# sherpa_onnx_macos: # sherpa_onnx_macos:
# path: ../sherpa_onnx_macos # path: ../sherpa_onnx_macos
sherpa_onnx_linux: ^1.10.46 sherpa_onnx_linux: ^1.11.0
# sherpa_onnx_linux: # sherpa_onnx_linux:
# path: ../sherpa_onnx_linux # path: ../sherpa_onnx_linux
sherpa_onnx_windows: ^1.10.46 sherpa_onnx_windows: ^1.11.0
# sherpa_onnx_windows: # sherpa_onnx_windows:
# path: ../sherpa_onnx_windows # path: ../sherpa_onnx_windows
sherpa_onnx_ios: ^1.10.46 sherpa_onnx_ios: ^1.11.0
# sherpa_onnx_ios: # sherpa_onnx_ios:
# path: ../sherpa_onnx_ios # path: ../sherpa_onnx_ios

View File

@@ -7,7 +7,7 @@
# https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'sherpa_onnx_ios' s.name = 'sherpa_onnx_ios'
s.version = '1.10.46' s.version = '1.11.0'
s.summary = 'A new Flutter FFI plugin project.' s.summary = 'A new Flutter FFI plugin project.'
s.description = <<-DESC s.description = <<-DESC
A new Flutter FFI plugin project. A new Flutter FFI plugin project.

View File

@@ -4,7 +4,7 @@
# #
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'sherpa_onnx_macos' s.name = 'sherpa_onnx_macos'
s.version = '1.10.46' s.version = '1.11.0'
s.summary = 'sherpa-onnx Flutter FFI plugin project.' s.summary = 'sherpa-onnx Flutter FFI plugin project.'
s.description = <<-DESC s.description = <<-DESC
sherpa-onnx Flutter FFI plugin project. sherpa-onnx Flutter FFI plugin project.

View File

@@ -1,7 +1,7 @@
/** /**
* Use these variables when you tailor your ArkTS code. They must be of the const type. * 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 BUILD_MODE_NAME = 'debug';
export const DEBUG = true; export const DEBUG = true;
export const TARGET_NAME = 'default'; export const TARGET_NAME = 'default';

View File

@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
``` ```
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.46", "sherpa_onnx": "1.11.0",
}, },
``` ```

View File

@@ -1,6 +1,6 @@
{ {
"name": "sherpa_onnx", "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", "description": "On-device speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without Internet connection",
"main": "Index.ets", "main": "Index.ets",
"author": "The next-gen Kaldi team", "author": "The next-gen Kaldi team",

View File

@@ -6,7 +6,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.46" "sherpa_onnx": "1.11.0"
} }
} }

View File

@@ -6,7 +6,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.46", "sherpa_onnx": "1.11.0",
} }
} }

View File

@@ -6,7 +6,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.46", "sherpa_onnx": "1.11.0",
} }
} }

View File

@@ -6,7 +6,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.46", "sherpa_onnx": "1.11.0",
} }
} }

View File

@@ -1,6 +1,6 @@
# Introduction # 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> from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>
Hint: For users who have no access to huggingface, please use Hint: For users who have no access to huggingface, please use

View File

@@ -7,7 +7,7 @@
"license": "", "license": "",
"dependencies": { "dependencies": {
// please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx // please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
"sherpa_onnx": "1.10.46", "sherpa_onnx": "1.11.0",
} }
} }

View File

@@ -2,8 +2,8 @@ jdk:
- openjdk17 - openjdk17
before_install: 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: install:
- FILE="-Dfile=sherpa-onnx-1.10.46.aar" - FILE="-Dfile=sherpa-onnx-1.11.0.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.10.46 -Dpackaging=aar -DgeneratePom=true - mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.11.0 -Dpackaging=aar -DgeneratePom=true

View File

@@ -5,9 +5,9 @@ for speech recognition.
|Directory| Pre-built exe (x64)|Pre-built exe (x86)| Description| |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| |[./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.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| |[./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.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| |[./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 Caution: You need to use Windows and install Visual Studio 2022 in order to
compile it. compile it.

View File

@@ -2,23 +2,23 @@
set -ex set -ex
sed -i.bak 's/1\.10\.45/1\.10\.46/g' ./build-ios-shared.sh sed -i.bak 's/1\.10\.46/1\.11\.0/g' ./build-ios-shared.sh
sed -i.bak 's/1\.10\.45/1\.10\.46/g' ./pom.xml sed -i.bak 's/1\.10\.46/1\.11\.0/g' ./pom.xml
sed -i.bak 's/1\.10\.45/1\.10\.46/g' ./jitpack.yml sed -i.bak 's/1\.10\.46/1\.11\.0/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' ./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 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\.45/1\.10\.46/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\.45/1\.10\.46/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\.45/1\.10\.46/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\.45/1\.10\.46/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\.45/1\.10\.46/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 "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\.45/1\.10\.46/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 {} \; find . -name "*.bak" -exec rm {} \;

View File

@@ -1,5 +1,5 @@
{ {
"dependencies": { "dependencies": {
"sherpa-onnx-node": "^1.10.46" "sherpa-onnx-node": "^1.11.0"
} }
} }

View File

@@ -2,7 +2,7 @@
"dependencies": { "dependencies": {
"mic": "^2.1.2", "mic": "^2.1.2",
"naudiodon2": "^2.4.0", "naudiodon2": "^2.4.0",
"sherpa-onnx": "^1.10.46", "sherpa-onnx": "^1.11.0",
"wav": "^1.0.2" "wav": "^1.0.2"
} }
} }

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.k2fsa.sherpa.onnx</groupId> <groupId>com.k2fsa.sherpa.onnx</groupId>
<artifactId>sherpa-onnx-android</artifactId> <artifactId>sherpa-onnx-android</artifactId>
<version>1.10.46</version> <version>1.11.0</version>
<url>https://github.com/k2-fsa/sherpa-onnx</url> <url>https://github.com/k2-fsa/sherpa-onnx</url>
<packaging>pom</packaging> <packaging>pom</packaging>
<description>First Android Library</description> <description>First Android Library</description>