Release v1.12.3 (#2322)
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
## 1.12.3
|
||||||
|
|
||||||
|
* Show CMake debug information. (#2316)
|
||||||
|
* Remove portaudio-go in Go API examples. (#2317)
|
||||||
|
* Support Xipformer CTC ASR with whisper features. (#2319)
|
||||||
|
* Support Zipformer transducer ASR with whisper features. (#2321)
|
||||||
|
|
||||||
## 1.12.2
|
## 1.12.2
|
||||||
|
|
||||||
* Fix CI for windows (#2279)
|
* Fix CI for windows (#2279)
|
||||||
|
|||||||
@@ -14,7 +14,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.12.2")
|
set(SHERPA_ONNX_VERSION "1.12.3")
|
||||||
|
|
||||||
# Disable warning about
|
# Disable warning about
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -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.12.2/sherpa-onnx-v1.12.2-android.tar.bz2
|
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.3/sherpa-onnx-v1.12.3-android.tar.bz2
|
||||||
tar xvf sherpa-onnx-v1.12.2-android.tar.bz2
|
tar xvf sherpa-onnx-v1.12.3-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.12.2.aar
|
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.12.3.aar
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -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.12.2'
|
implementation 'com.github.k2-fsa:sherpa-onnx:v1.12.3'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.12.2</string>
|
<string>1.12.3</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
<array>
|
<array>
|
||||||
<string>iPhoneOS</string>
|
<string>iPhoneOS</string>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ environment:
|
|||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ environment:
|
|||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ environment:
|
|||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
# sherpa_onnx:
|
# sherpa_onnx:
|
||||||
# path: ../../flutter/sherpa_onnx
|
# path: ../../flutter/sherpa_onnx
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ environment:
|
|||||||
|
|
||||||
# Add regular dependencies here.
|
# Add regular dependencies here.
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ environment:
|
|||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
# sherpa_onnx:
|
# sherpa_onnx:
|
||||||
# path: ../../flutter/sherpa_onnx
|
# path: ../../flutter/sherpa_onnx
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ environment:
|
|||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ environment:
|
|||||||
|
|
||||||
# Add regular dependencies here.
|
# Add regular dependencies here.
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
# sherpa_onnx:
|
# sherpa_onnx:
|
||||||
# path: ../../flutter/sherpa_onnx
|
# path: ../../flutter/sherpa_onnx
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ environment:
|
|||||||
|
|
||||||
# Add regular dependencies here.
|
# Add regular dependencies here.
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ environment:
|
|||||||
|
|
||||||
# Add regular dependencies here.
|
# Add regular dependencies here.
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ environment:
|
|||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ environment:
|
|||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sherpa_onnx: ^1.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
path: ^1.9.0
|
path: ^1.9.0
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ description: >
|
|||||||
|
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 1.12.2
|
version: 1.12.3
|
||||||
|
|
||||||
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.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
# sherpa_onnx:
|
# sherpa_onnx:
|
||||||
# path: ../../flutter/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
|
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||||
|
|
||||||
version: 1.12.2
|
version: 1.12.3
|
||||||
|
|
||||||
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.12.2
|
sherpa_onnx: ^1.12.3
|
||||||
# sherpa_onnx:
|
# sherpa_onnx:
|
||||||
# path: ../../flutter/sherpa_onnx
|
# path: ../../flutter/sherpa_onnx
|
||||||
url_launcher: 6.2.6
|
url_launcher: 6.2.6
|
||||||
|
|||||||
@@ -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.12.2
|
version: 1.12.3
|
||||||
|
|
||||||
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.12.2
|
sherpa_onnx_android: ^1.12.3
|
||||||
# sherpa_onnx_android:
|
# sherpa_onnx_android:
|
||||||
# path: ../sherpa_onnx_android
|
# path: ../sherpa_onnx_android
|
||||||
|
|
||||||
sherpa_onnx_macos: ^1.12.2
|
sherpa_onnx_macos: ^1.12.3
|
||||||
# sherpa_onnx_macos:
|
# sherpa_onnx_macos:
|
||||||
# path: ../sherpa_onnx_macos
|
# path: ../sherpa_onnx_macos
|
||||||
|
|
||||||
sherpa_onnx_linux: ^1.12.2
|
sherpa_onnx_linux: ^1.12.3
|
||||||
# sherpa_onnx_linux:
|
# sherpa_onnx_linux:
|
||||||
# path: ../sherpa_onnx_linux
|
# path: ../sherpa_onnx_linux
|
||||||
|
|
||||||
sherpa_onnx_windows: ^1.12.2
|
sherpa_onnx_windows: ^1.12.3
|
||||||
# sherpa_onnx_windows:
|
# sherpa_onnx_windows:
|
||||||
# path: ../sherpa_onnx_windows
|
# path: ../sherpa_onnx_windows
|
||||||
|
|
||||||
sherpa_onnx_ios: ^1.12.2
|
sherpa_onnx_ios: ^1.12.3
|
||||||
# sherpa_onnx_ios:
|
# sherpa_onnx_ios:
|
||||||
# path: ../sherpa_onnx_ios
|
# path: ../sherpa_onnx_ios
|
||||||
|
|
||||||
|
|||||||
@@ -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.12.2'
|
s.version = '1.12.3'
|
||||||
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.
|
||||||
|
|||||||
@@ -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.12.2'
|
s.version = '1.12.3'
|
||||||
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.
|
||||||
|
|||||||
@@ -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.12.2';
|
export const HAR_VERSION = '1.12.3';
|
||||||
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';
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
|
|||||||
|
|
||||||
```
|
```
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sherpa_onnx": "1.12.2",
|
"sherpa_onnx": "1.12.3",
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sherpa_onnx",
|
"name": "sherpa_onnx",
|
||||||
"version": "1.12.2",
|
"version": "1.12.3",
|
||||||
"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",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "",
|
"license": "",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sherpa_onnx": "1.12.2"
|
"sherpa_onnx": "1.12.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "",
|
"license": "",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sherpa_onnx": "1.12.2",
|
"sherpa_onnx": "1.12.3",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "",
|
"license": "",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sherpa_onnx": "1.12.2",
|
"sherpa_onnx": "1.12.3",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "",
|
"license": "",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sherpa_onnx": "1.12.2",
|
"sherpa_onnx": "1.12.3",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Introduction
|
# Introduction
|
||||||
|
|
||||||
Please download ./sherpa_onnx-v1.12.2.har
|
Please download ./sherpa_onnx-v1.12.3.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
|
||||||
|
|||||||
@@ -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.12.2",
|
"sherpa_onnx": "1.12.3",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ jdk:
|
|||||||
- openjdk17
|
- openjdk17
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.2/sherpa-onnx-1.12.2.aar
|
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.3/sherpa-onnx-1.12.3.aar
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- FILE="-Dfile=sherpa-onnx-1.12.2.aar"
|
- FILE="-Dfile=sherpa-onnx-1.12.3.aar"
|
||||||
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.12.2 -Dpackaging=aar -DgeneratePom=true
|
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.12.3 -Dpackaging=aar -DgeneratePom=true
|
||||||
|
|||||||
@@ -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.12.2/sherpa-onnx-non-streaming-asr-x64-v1.12.2.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.2/sherpa-onnx-non-streaming-asr-x86-v1.12.2.exe)| Non-streaming speech recognition|
|
|[./NonStreamingSpeechRecognition](./NonStreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.3/sherpa-onnx-non-streaming-asr-x64-v1.12.3.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.3/sherpa-onnx-non-streaming-asr-x86-v1.12.3.exe)| Non-streaming speech recognition|
|
||||||
|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.2/sherpa-onnx-streaming-asr-x64-v1.12.2.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.2/sherpa-onnx-streaming-asr-x86-v1.12.2.exe)| Streaming speech recognition|
|
|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.3/sherpa-onnx-streaming-asr-x64-v1.12.3.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.3/sherpa-onnx-streaming-asr-x86-v1.12.3.exe)| Streaming speech recognition|
|
||||||
|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.2/sherpa-onnx-non-streaming-tts-x64-v1.12.2.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.2/sherpa-onnx-non-streaming-tts-x86-v1.12.2.exe)| Non-streaming text to speech|
|
|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.3/sherpa-onnx-non-streaming-tts-x64-v1.12.3.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.3/sherpa-onnx-non-streaming-tts-x86-v1.12.3.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.
|
||||||
|
|||||||
@@ -2,30 +2,30 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
sed -i.bak 's/1\.12\.1/1\.12\.2/g' ./sherpa-onnx/csrc/version.cc
|
sed -i.bak 's/1\.12\.2/1\.12\.3/g' ./sherpa-onnx/csrc/version.cc
|
||||||
sha1=$(git describe --match=NeVeRmAtCh --always --abbrev=8)
|
sha1=$(git describe --match=NeVeRmAtCh --always --abbrev=8)
|
||||||
date=$(git log -1 --format=%ad --date=local)
|
date=$(git log -1 --format=%ad --date=local)
|
||||||
|
|
||||||
sed -i.bak "s/ static const char \*sha1.*/ static const char \*sha1 = \"$sha1\";/g" ./sherpa-onnx/csrc/version.cc
|
sed -i.bak "s/ static const char \*sha1.*/ static const char \*sha1 = \"$sha1\";/g" ./sherpa-onnx/csrc/version.cc
|
||||||
sed -i.bak "s/ static const char \*date.*/ static const char \*date = \"$date\";/g" ./sherpa-onnx/csrc/version.cc
|
sed -i.bak "s/ static const char \*date.*/ static const char \*date = \"$date\";/g" ./sherpa-onnx/csrc/version.cc
|
||||||
|
|
||||||
sed -i.bak 's/1\.12\.1/1\.12\.2/g' ./build-ios-shared.sh
|
sed -i.bak 's/1\.12\.2/1\.12\.3/g' ./build-ios-shared.sh
|
||||||
sed -i.bak 's/1\.12\.1/1\.12\.2/g' ./pom.xml
|
sed -i.bak 's/1\.12\.2/1\.12\.3/g' ./pom.xml
|
||||||
sed -i.bak 's/1\.12\.1/1\.12\.2/g' ./jitpack.yml
|
sed -i.bak 's/1\.12\.2/1\.12\.3/g' ./jitpack.yml
|
||||||
sed -i.bak 's/1\.12\.1/1\.12\.2/g' ./android/SherpaOnnxAar/README.md
|
sed -i.bak 's/1\.12\.2/1\.12\.3/g' ./android/SherpaOnnxAar/README.md
|
||||||
|
|
||||||
find android -name build.gradle -type f -exec sed -i.bak 's/sherpa-onnx:v1\.12\.1/sherpa-onnx:v1\.12\.2/g' {} \;
|
find android -name build.gradle -type f -exec sed -i.bak 's/sherpa-onnx:v1\.12\.2/sherpa-onnx:v1\.12\.3/g' {} \;
|
||||||
|
|
||||||
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
find nodejs-examples -name package.json -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find nodejs-examples -name package.json -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
|
|
||||||
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
|
|
||||||
find mfc-examples -name "README.md" -type f -exec sed -i.bak 's/1\.12\.1/1\.12\.2/g' {} \;
|
find mfc-examples -name "README.md" -type f -exec sed -i.bak 's/1\.12\.2/1\.12\.3/g' {} \;
|
||||||
|
|
||||||
find . -name "*.bak" -exec rm {} \;
|
find . -name "*.bak" -exec rm {} \;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sherpa-onnx-node": "^1.12.2"
|
"sherpa-onnx-node": "^1.12.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.12.2",
|
"sherpa-onnx": "^1.12.3",
|
||||||
"wav": "^1.0.2"
|
"wav": "^1.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -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.12.2</version>
|
<version>1.12.3</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>
|
||||||
|
|||||||
@@ -7,17 +7,17 @@
|
|||||||
namespace sherpa_onnx {
|
namespace sherpa_onnx {
|
||||||
|
|
||||||
const char *GetGitDate() {
|
const char *GetGitDate() {
|
||||||
static const char *date = "Wed Jun 25 00:22:21 2025";
|
static const char *date = "Fri Jun 27 10:40:41 2025";
|
||||||
return date;
|
return date;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *GetGitSha1() {
|
const char *GetGitSha1() {
|
||||||
static const char *sha1 = "bda427f4";
|
static const char *sha1 = "f835642b";
|
||||||
return sha1;
|
return sha1;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *GetVersionStr() {
|
const char *GetVersionStr() {
|
||||||
static const char *version = "1.12.2";
|
static const char *version = "1.12.3";
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user