Release v1.10.34 (#1611)

This commit is contained in:
Fangjun Kuang
2024-12-10 20:29:33 +08:00
committed by GitHub
parent 914cbad6a3
commit e011e849d4
29 changed files with 67 additions and 51 deletions

View File

@@ -1,3 +1,13 @@
## 1.10.34
* Fix building node-addon package (#1598)
* Update doc links for HarmonyOS (#1601)
* Add on-device real-time ASR demo for HarmonyOS (#1606)
* Add speaker identification APIs for HarmonyOS (#1607)
* Add speaker identification demo for HarmonyOS (#1608)
* Add speaker diarization API for HarmonyOS. (#1609)
* Add speaker diarization demo for HarmonyOS (#1610)
## 1.10.33 ## 1.10.33
* Add non-streaming ASR support for HarmonyOS. (#1564) * Add non-streaming ASR support for HarmonyOS. (#1564)

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.33") set(SHERPA_ONNX_VERSION "1.10.34")
# Disable warning about # Disable warning about
# #

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.33</string> <string>1.10.34</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.33 sherpa_onnx: ^1.10.34
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.33 sherpa_onnx: ^1.10.34
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.33 sherpa_onnx: ^1.10.34
# 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.33 sherpa_onnx: ^1.10.34
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.33 sherpa_onnx: ^1.10.34
# 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.33 sherpa_onnx: ^1.10.34
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -11,7 +11,7 @@ environment:
# Add regular dependencies here. # Add regular dependencies here.
dependencies: dependencies:
sherpa_onnx: ^1.10.33 sherpa_onnx: ^1.10.34
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.33 sherpa_onnx: ^1.10.34
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.33 sherpa_onnx: ^1.10.34
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.33 sherpa_onnx: ^1.10.34
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.33 version: 1.10.34
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.33 sherpa_onnx: ^1.10.34
# 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.33 version: 1.10.34
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.33 sherpa_onnx: ^1.10.34
# 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.33 version: 1.10.34
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.33 sherpa_onnx_android: ^1.10.34
# sherpa_onnx_android: # sherpa_onnx_android:
# path: ../sherpa_onnx_android # path: ../sherpa_onnx_android
sherpa_onnx_macos: ^1.10.33 sherpa_onnx_macos: ^1.10.34
# sherpa_onnx_macos: # sherpa_onnx_macos:
# path: ../sherpa_onnx_macos # path: ../sherpa_onnx_macos
sherpa_onnx_linux: ^1.10.33 sherpa_onnx_linux: ^1.10.34
# sherpa_onnx_linux: # sherpa_onnx_linux:
# path: ../sherpa_onnx_linux # path: ../sherpa_onnx_linux
sherpa_onnx_windows: ^1.10.33 sherpa_onnx_windows: ^1.10.34
# sherpa_onnx_windows: # sherpa_onnx_windows:
# path: ../sherpa_onnx_windows # path: ../sherpa_onnx_windows
sherpa_onnx_ios: ^1.10.33 sherpa_onnx_ios: ^1.10.34
# 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.33' s.version = '1.10.34'
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.33' s.version = '1.10.34'
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

@@ -6,15 +6,18 @@
Please refer to our [doc](https://k2-fsa.github.io/sherpa/onnx/harmony-os/how-to-build-har.html) Please refer to our [doc](https://k2-fsa.github.io/sherpa/onnx/harmony-os/how-to-build-har.html)
if you want to build `sherpa-onnx` from source. if you want to build `sherpa-onnx` from source.
- [./SherpaOnnxVadAsr](./SherpaOnnxVadAsr) It shows how to use - [./SherpaOnnxSpeakerDiarization](./SherpaOnnxSpeakerDiarization) It shows how
VAD + Non-streaming ASR for speech recognition. to run on-device speaker diarization.
Please see the doc at <https://k2-fsa.github.io/sherpa/onnx/harmony-os/vad-asr.html>
- [./SherpaOnnxStreamingAsr](./SherpaOnnxStreamingAsr) It shows how to use
streaming ASR models for real-time on-device speech recognition.
- [./SherpaOnnxSpeakerIdentification](./SherpaOnnxSpeakerIdentification) It shows how to use - [./SherpaOnnxSpeakerIdentification](./SherpaOnnxSpeakerIdentification) It shows how to use
speaker embedding models for on-device speaker identification. speaker embedding models for on-device speaker identification.
- [./SherpaOnnxStreamingAsr](./SherpaOnnxStreamingAsr) It shows how to use
streaming ASR models for real-time on-device speech recognition.
- [./SherpaOnnxTts](./SherpaOnnxTts) It shows how to run on-device text-to-speech. - [./SherpaOnnxTts](./SherpaOnnxTts) It shows how to run on-device text-to-speech.
Please see the doc at <https://k2-fsa.github.io/sherpa/onnx/harmony-os/tts.html> Please see the doc at <https://k2-fsa.github.io/sherpa/onnx/harmony-os/tts.html>
- [./SherpaOnnxVadAsr](./SherpaOnnxVadAsr) It shows how to use
VAD + Non-streaming ASR for speech recognition.
Please see the doc at <https://k2-fsa.github.io/sherpa/onnx/harmony-os/vad-asr.html>

View File

@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
``` ```
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.33", "sherpa_onnx": "1.10.34",
}, },
``` ```
@@ -33,8 +33,11 @@ Note that we recommend always using the latest version.
| Demo | URL | Description| | Demo | URL | Description|
|------|-----|------------| |------|-----|------------|
|SherpaOnnxStreamingAsr|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxStreamingAsr)|On-device real-time/streaming speech recognition with Next-gen Kaldi|
|SherpaOnnxVadAsr|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxVadAsr)|It shows how to use VAD with a non-streaming ASR model for on-device speech recognition without accessing the network | |SherpaOnnxVadAsr|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxVadAsr)|It shows how to use VAD with a non-streaming ASR model for on-device speech recognition without accessing the network |
|SherpaOnnxTts|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxTts)|It shows how to use Next-gen Kaldi for on-device text-to-speech (TTS, i.e., speech synthesis)| |SherpaOnnxTts|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxTts)|It shows how to use Next-gen Kaldi for on-device text-to-speech (TTS, i.e., speech synthesis)|
|SherpaOnnxSpeakerDiarization|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxSpeakerDiarization)|On-device speaker diarization with Next-gen Kaldi|
|SherpaOnnxSpeakerIdentification|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxSpeakerIdentification)|On-device speaker identification with Next-gen Kaldi|
# Documentation # Documentation

View File

@@ -1,7 +1,7 @@
{ {
"name": "sherpa_onnx", "name": "sherpa_onnx",
"version": "1.10.33", "version": "1.10.34",
"description": "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",
"license": "Apache-2.0", "license": "Apache-2.0",
@@ -13,14 +13,14 @@
"keywords": [ "keywords": [
"语音识别", "语音识别",
"语音合成", "语音合成",
"说话人日志",
"新一代Kaldi", "新一代Kaldi",
"不联网",
"本地",
"tts", "tts",
"asr", "asr",
"locally",
"diarization",
"privacy", "privacy",
"open-source", "open-source",
"speaker",
], ],
"bugs": { "bugs": {
"url": "https://github.com/k2-fsa/sherpa-onnx/issues" "url": "https://github.com/k2-fsa/sherpa-onnx/issues"

View File

@@ -6,7 +6,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.33" "sherpa_onnx": "1.10.34"
} }
} }

View File

@@ -6,7 +6,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.33", "sherpa_onnx": "1.10.34",
} }
} }

View File

@@ -6,7 +6,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.33", "sherpa_onnx": "1.10.34",
} }
} }

View File

@@ -6,7 +6,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"sherpa_onnx": "1.10.33", "sherpa_onnx": "1.10.34",
} }
} }

View File

@@ -1,6 +1,6 @@
# Introduction # Introduction
Please download ./sherpa_onnx-v1.10.33.har Please download ./sherpa_onnx-v1.10.34.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.33", "sherpa_onnx": "1.10.34",
} }
} }

View File

@@ -2,12 +2,12 @@
set -ex set -ex
sed -i.bak 's/1\.10\.32/1\.10\.33/g' ./build-ios-shared.sh sed -i.bak 's/1\.10\.33/1\.10\.34/g' ./build-ios-shared.sh
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;

View File

@@ -1,5 +1,5 @@
{ {
"dependencies": { "dependencies": {
"sherpa-onnx-node": "^1.10.33" "sherpa-onnx-node": "^1.10.34"
} }
} }