正在显示
29 个修改的文件
包含
67 行增加
和
51 行删除
| 1 | +## 1.10.34 | ||
| 2 | + | ||
| 3 | +* Fix building node-addon package (#1598) | ||
| 4 | +* Update doc links for HarmonyOS (#1601) | ||
| 5 | +* Add on-device real-time ASR demo for HarmonyOS (#1606) | ||
| 6 | +* Add speaker identification APIs for HarmonyOS (#1607) | ||
| 7 | +* Add speaker identification demo for HarmonyOS (#1608) | ||
| 8 | +* Add speaker diarization API for HarmonyOS. (#1609) | ||
| 9 | +* Add speaker diarization demo for HarmonyOS (#1610) | ||
| 10 | + | ||
| 1 | ## 1.10.33 | 11 | ## 1.10.33 |
| 2 | 12 | ||
| 3 | * Add non-streaming ASR support for HarmonyOS. (#1564) | 13 | * Add non-streaming ASR support for HarmonyOS. (#1564) |
| @@ -10,7 +10,7 @@ project(sherpa-onnx) | @@ -10,7 +10,7 @@ project(sherpa-onnx) | ||
| 10 | # Remember to update | 10 | # Remember to update |
| 11 | # ./CHANGELOG.md | 11 | # ./CHANGELOG.md |
| 12 | # ./new-release.sh | 12 | # ./new-release.sh |
| 13 | -set(SHERPA_ONNX_VERSION "1.10.33") | 13 | +set(SHERPA_ONNX_VERSION "1.10.34") |
| 14 | 14 | ||
| 15 | # Disable warning about | 15 | # Disable warning about |
| 16 | # | 16 | # |
| @@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do | @@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do | ||
| 242 | <key>CFBundlePackageType</key> | 242 | <key>CFBundlePackageType</key> |
| 243 | <string>FMWK</string> | 243 | <string>FMWK</string> |
| 244 | <key>CFBundleShortVersionString</key> | 244 | <key>CFBundleShortVersionString</key> |
| 245 | - <string>1.10.33</string> | 245 | + <string>1.10.34</string> |
| 246 | <key>CFBundleSupportedPlatforms</key> | 246 | <key>CFBundleSupportedPlatforms</key> |
| 247 | <array> | 247 | <array> |
| 248 | <string>iPhoneOS</string> | 248 | <string>iPhoneOS</string> |
| @@ -9,7 +9,7 @@ environment: | @@ -9,7 +9,7 @@ environment: | ||
| 9 | sdk: ">=3.0.0 <4.0.0" | 9 | sdk: ">=3.0.0 <4.0.0" |
| 10 | 10 | ||
| 11 | dependencies: | 11 | dependencies: |
| 12 | - sherpa_onnx: ^1.10.33 | 12 | + sherpa_onnx: ^1.10.34 |
| 13 | # sherpa_onnx: | 13 | # sherpa_onnx: |
| 14 | # path: ../../flutter/sherpa_onnx | 14 | # path: ../../flutter/sherpa_onnx |
| 15 | path: ^1.9.0 | 15 | path: ^1.9.0 |
| @@ -8,7 +8,7 @@ environment: | @@ -8,7 +8,7 @@ environment: | ||
| 8 | sdk: ">=3.0.0 <4.0.0" | 8 | sdk: ">=3.0.0 <4.0.0" |
| 9 | 9 | ||
| 10 | dependencies: | 10 | dependencies: |
| 11 | - sherpa_onnx: ^1.10.33 | 11 | + sherpa_onnx: ^1.10.34 |
| 12 | # sherpa_onnx: | 12 | # sherpa_onnx: |
| 13 | # path: ../../flutter/sherpa_onnx | 13 | # path: ../../flutter/sherpa_onnx |
| 14 | path: ^1.9.0 | 14 | path: ^1.9.0 |
| @@ -5,7 +5,7 @@ description: > | @@ -5,7 +5,7 @@ description: > | ||
| 5 | 5 | ||
| 6 | publish_to: 'none' | 6 | publish_to: 'none' |
| 7 | 7 | ||
| 8 | -version: 1.10.33 | 8 | +version: 1.10.34 |
| 9 | 9 | ||
| 10 | topics: | 10 | topics: |
| 11 | - speech-recognition | 11 | - speech-recognition |
| @@ -31,7 +31,7 @@ dependencies: | @@ -31,7 +31,7 @@ dependencies: | ||
| 31 | record: ^5.1.0 | 31 | record: ^5.1.0 |
| 32 | url_launcher: ^6.2.6 | 32 | url_launcher: ^6.2.6 |
| 33 | 33 | ||
| 34 | - sherpa_onnx: ^1.10.33 | 34 | + sherpa_onnx: ^1.10.34 |
| 35 | # sherpa_onnx: | 35 | # sherpa_onnx: |
| 36 | # path: ../../flutter/sherpa_onnx | 36 | # path: ../../flutter/sherpa_onnx |
| 37 | 37 |
| @@ -5,7 +5,7 @@ description: > | @@ -5,7 +5,7 @@ description: > | ||
| 5 | 5 | ||
| 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev | 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev |
| 7 | 7 | ||
| 8 | -version: 1.10.33 | 8 | +version: 1.10.34 |
| 9 | 9 | ||
| 10 | environment: | 10 | environment: |
| 11 | sdk: ">=2.17.0 <4.0.0" | 11 | sdk: ">=2.17.0 <4.0.0" |
| @@ -18,7 +18,7 @@ dependencies: | @@ -18,7 +18,7 @@ dependencies: | ||
| 18 | cupertino_icons: ^1.0.6 | 18 | cupertino_icons: ^1.0.6 |
| 19 | path_provider: ^2.1.3 | 19 | path_provider: ^2.1.3 |
| 20 | path: ^1.9.0 | 20 | path: ^1.9.0 |
| 21 | - sherpa_onnx: ^1.10.33 | 21 | + sherpa_onnx: ^1.10.34 |
| 22 | # sherpa_onnx: | 22 | # sherpa_onnx: |
| 23 | # path: ../../flutter/sherpa_onnx | 23 | # path: ../../flutter/sherpa_onnx |
| 24 | url_launcher: 6.2.6 | 24 | url_launcher: 6.2.6 |
| @@ -17,7 +17,7 @@ topics: | @@ -17,7 +17,7 @@ topics: | ||
| 17 | - voice-activity-detection | 17 | - voice-activity-detection |
| 18 | 18 | ||
| 19 | # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec | 19 | # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec |
| 20 | -version: 1.10.33 | 20 | +version: 1.10.34 |
| 21 | 21 | ||
| 22 | homepage: https://github.com/k2-fsa/sherpa-onnx | 22 | homepage: https://github.com/k2-fsa/sherpa-onnx |
| 23 | 23 | ||
| @@ -30,23 +30,23 @@ dependencies: | @@ -30,23 +30,23 @@ dependencies: | ||
| 30 | flutter: | 30 | flutter: |
| 31 | sdk: flutter | 31 | sdk: flutter |
| 32 | 32 | ||
| 33 | - sherpa_onnx_android: ^1.10.33 | 33 | + sherpa_onnx_android: ^1.10.34 |
| 34 | # sherpa_onnx_android: | 34 | # sherpa_onnx_android: |
| 35 | # path: ../sherpa_onnx_android | 35 | # path: ../sherpa_onnx_android |
| 36 | 36 | ||
| 37 | - sherpa_onnx_macos: ^1.10.33 | 37 | + sherpa_onnx_macos: ^1.10.34 |
| 38 | # sherpa_onnx_macos: | 38 | # sherpa_onnx_macos: |
| 39 | # path: ../sherpa_onnx_macos | 39 | # path: ../sherpa_onnx_macos |
| 40 | 40 | ||
| 41 | - sherpa_onnx_linux: ^1.10.33 | 41 | + sherpa_onnx_linux: ^1.10.34 |
| 42 | # sherpa_onnx_linux: | 42 | # sherpa_onnx_linux: |
| 43 | # path: ../sherpa_onnx_linux | 43 | # path: ../sherpa_onnx_linux |
| 44 | 44 | ||
| 45 | - sherpa_onnx_windows: ^1.10.33 | 45 | + sherpa_onnx_windows: ^1.10.34 |
| 46 | # sherpa_onnx_windows: | 46 | # sherpa_onnx_windows: |
| 47 | # path: ../sherpa_onnx_windows | 47 | # path: ../sherpa_onnx_windows |
| 48 | 48 | ||
| 49 | - sherpa_onnx_ios: ^1.10.33 | 49 | + sherpa_onnx_ios: ^1.10.34 |
| 50 | # sherpa_onnx_ios: | 50 | # sherpa_onnx_ios: |
| 51 | # path: ../sherpa_onnx_ios | 51 | # path: ../sherpa_onnx_ios |
| 52 | 52 |
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c | 7 | # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c |
| 8 | Pod::Spec.new do |s| | 8 | Pod::Spec.new do |s| |
| 9 | s.name = 'sherpa_onnx_ios' | 9 | s.name = 'sherpa_onnx_ios' |
| 10 | - s.version = '1.10.33' | 10 | + s.version = '1.10.34' |
| 11 | s.summary = 'A new Flutter FFI plugin project.' | 11 | s.summary = 'A new Flutter FFI plugin project.' |
| 12 | s.description = <<-DESC | 12 | s.description = <<-DESC |
| 13 | A new Flutter FFI plugin project. | 13 | A new Flutter FFI plugin project. |
| @@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
| 4 | # | 4 | # |
| 5 | Pod::Spec.new do |s| | 5 | Pod::Spec.new do |s| |
| 6 | s.name = 'sherpa_onnx_macos' | 6 | s.name = 'sherpa_onnx_macos' |
| 7 | - s.version = '1.10.33' | 7 | + s.version = '1.10.34' |
| 8 | s.summary = 'sherpa-onnx Flutter FFI plugin project.' | 8 | s.summary = 'sherpa-onnx Flutter FFI plugin project.' |
| 9 | s.description = <<-DESC | 9 | s.description = <<-DESC |
| 10 | sherpa-onnx Flutter FFI plugin project. | 10 | sherpa-onnx Flutter FFI plugin project. |
| @@ -6,15 +6,18 @@ | @@ -6,15 +6,18 @@ | ||
| 6 | Please refer to our [doc](https://k2-fsa.github.io/sherpa/onnx/harmony-os/how-to-build-har.html) | 6 | Please refer to our [doc](https://k2-fsa.github.io/sherpa/onnx/harmony-os/how-to-build-har.html) |
| 7 | if you want to build `sherpa-onnx` from source. | 7 | if you want to build `sherpa-onnx` from source. |
| 8 | 8 | ||
| 9 | -- [./SherpaOnnxVadAsr](./SherpaOnnxVadAsr) It shows how to use | ||
| 10 | - VAD + Non-streaming ASR for speech recognition. | ||
| 11 | - Please see the doc at <https://k2-fsa.github.io/sherpa/onnx/harmony-os/vad-asr.html> | ||
| 12 | - | ||
| 13 | -- [./SherpaOnnxStreamingAsr](./SherpaOnnxStreamingAsr) It shows how to use | ||
| 14 | - streaming ASR models for real-time on-device speech recognition. | 9 | +- [./SherpaOnnxSpeakerDiarization](./SherpaOnnxSpeakerDiarization) It shows how |
| 10 | + to run on-device speaker diarization. | ||
| 15 | 11 | ||
| 16 | - [./SherpaOnnxSpeakerIdentification](./SherpaOnnxSpeakerIdentification) It shows how to use | 12 | - [./SherpaOnnxSpeakerIdentification](./SherpaOnnxSpeakerIdentification) It shows how to use |
| 17 | speaker embedding models for on-device speaker identification. | 13 | speaker embedding models for on-device speaker identification. |
| 18 | 14 | ||
| 15 | +- [./SherpaOnnxStreamingAsr](./SherpaOnnxStreamingAsr) It shows how to use | ||
| 16 | + streaming ASR models for real-time on-device speech recognition. | ||
| 17 | + | ||
| 19 | - [./SherpaOnnxTts](./SherpaOnnxTts) It shows how to run on-device text-to-speech. | 18 | - [./SherpaOnnxTts](./SherpaOnnxTts) It shows how to run on-device text-to-speech. |
| 20 | Please see the doc at <https://k2-fsa.github.io/sherpa/onnx/harmony-os/tts.html> | 19 | Please see the doc at <https://k2-fsa.github.io/sherpa/onnx/harmony-os/tts.html> |
| 20 | + | ||
| 21 | +- [./SherpaOnnxVadAsr](./SherpaOnnxVadAsr) It shows how to use | ||
| 22 | + VAD + Non-streaming ASR for speech recognition. | ||
| 23 | + Please see the doc at <https://k2-fsa.github.io/sherpa/onnx/harmony-os/vad-asr.html> |
| @@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following: | @@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following: | ||
| 23 | 23 | ||
| 24 | ``` | 24 | ``` |
| 25 | "dependencies": { | 25 | "dependencies": { |
| 26 | - "sherpa_onnx": "1.10.33", | 26 | + "sherpa_onnx": "1.10.34", |
| 27 | }, | 27 | }, |
| 28 | ``` | 28 | ``` |
| 29 | 29 | ||
| @@ -33,8 +33,11 @@ Note that we recommend always using the latest version. | @@ -33,8 +33,11 @@ Note that we recommend always using the latest version. | ||
| 33 | 33 | ||
| 34 | | Demo | URL | Description| | 34 | | Demo | URL | Description| |
| 35 | |------|-----|------------| | 35 | |------|-----|------------| |
| 36 | +|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| | ||
| 36 | |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 | | 37 | |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 | |
| 37 | |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)| | 38 | |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)| |
| 39 | +|SherpaOnnxSpeakerDiarization|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxSpeakerDiarization)|On-device speaker diarization with Next-gen Kaldi| | ||
| 40 | +|SherpaOnnxSpeakerIdentification|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxSpeakerIdentification)|On-device speaker identification with Next-gen Kaldi| | ||
| 38 | 41 | ||
| 39 | # Documentation | 42 | # Documentation |
| 40 | 43 |
| 1 | { | 1 | { |
| 2 | "name": "sherpa_onnx", | 2 | "name": "sherpa_onnx", |
| 3 | - "version": "1.10.33", | ||
| 4 | - "description": "Speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without internet connection", | 3 | + "version": "1.10.34", |
| 4 | + "description": "On-device speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without Internet connection", | ||
| 5 | "main": "Index.ets", | 5 | "main": "Index.ets", |
| 6 | "author": "The next-gen Kaldi team", | 6 | "author": "The next-gen Kaldi team", |
| 7 | "license": "Apache-2.0", | 7 | "license": "Apache-2.0", |
| @@ -13,14 +13,14 @@ | @@ -13,14 +13,14 @@ | ||
| 13 | "keywords": [ | 13 | "keywords": [ |
| 14 | "语音识别", | 14 | "语音识别", |
| 15 | "语音合成", | 15 | "语音合成", |
| 16 | + "说话人日志", | ||
| 16 | "新一代Kaldi", | 17 | "新一代Kaldi", |
| 18 | + "不联网", | ||
| 19 | + "本地", | ||
| 17 | "tts", | 20 | "tts", |
| 18 | "asr", | 21 | "asr", |
| 19 | - "locally", | ||
| 20 | - "diarization", | ||
| 21 | "privacy", | 22 | "privacy", |
| 22 | "open-source", | 23 | "open-source", |
| 23 | - "speaker", | ||
| 24 | ], | 24 | ], |
| 25 | "bugs": { | 25 | "bugs": { |
| 26 | "url": "https://github.com/k2-fsa/sherpa-onnx/issues" | 26 | "url": "https://github.com/k2-fsa/sherpa-onnx/issues" |
| 1 | # Introduction | 1 | # Introduction |
| 2 | 2 | ||
| 3 | -Please download ./sherpa_onnx-v1.10.33.har | 3 | +Please download ./sherpa_onnx-v1.10.34.har |
| 4 | from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har> | 4 | from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har> |
| 5 | 5 | ||
| 6 | Hint: For users who have no access to huggingface, please use | 6 | Hint: For users who have no access to huggingface, please use |
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | "license": "", | 7 | "license": "", |
| 8 | "dependencies": { | 8 | "dependencies": { |
| 9 | // please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx | 9 | // please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx |
| 10 | - "sherpa_onnx": "1.10.33", | 10 | + "sherpa_onnx": "1.10.34", |
| 11 | } | 11 | } |
| 12 | } | 12 | } |
| 13 | 13 |
| @@ -2,12 +2,12 @@ | @@ -2,12 +2,12 @@ | ||
| 2 | 2 | ||
| 3 | set -ex | 3 | set -ex |
| 4 | 4 | ||
| 5 | -sed -i.bak 's/1\.10\.32/1\.10\.33/g' ./build-ios-shared.sh | ||
| 6 | -find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; | ||
| 7 | -find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; | ||
| 8 | -find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; | ||
| 9 | -find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; | ||
| 10 | -find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; | 5 | +sed -i.bak 's/1\.10\.33/1\.10\.34/g' ./build-ios-shared.sh |
| 6 | +find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \; | ||
| 7 | +find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \; | ||
| 8 | +find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \; | ||
| 9 | +find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \; | ||
| 10 | +find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \; | ||
| 11 | 11 | ||
| 12 | -find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; | ||
| 13 | -find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \; | 12 | +find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \; |
| 13 | +find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \; |
-
请 注册 或 登录 后发表评论