Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2025-01-13 10:28:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-01-13 10:28:05 +0800
Commit
cbe07ac1b6a933910bd6d5c44282116027199135
cbe07ac1
1 parent
0d20558b
Release v1.10.39 (#1702)
隐藏空白字符变更
内嵌
并排对比
正在显示
33 个修改的文件
包含
61 行增加
和
54 行删除
CHANGELOG.md
CMakeLists.txt
android/SherpaOnnxAar/README.md
android/SherpaOnnxJavaDemo/app/build.gradle
build-ios-shared.sh
dart-api-examples/add-punctuations/pubspec.yaml
dart-api-examples/audio-tagging/pubspec.yaml
dart-api-examples/keyword-spotter/pubspec.yaml
dart-api-examples/non-streaming-asr/pubspec.yaml
dart-api-examples/speaker-diarization/pubspec.yaml
dart-api-examples/speaker-identification/pubspec.yaml
dart-api-examples/streaming-asr/pubspec.yaml
dart-api-examples/tts/pubspec.yaml
dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml
dart-api-examples/vad/pubspec.yaml
flutter-examples/streaming_asr/pubspec.yaml
flutter-examples/tts/pubspec.yaml
flutter/sherpa_onnx/pubspec.yaml
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
harmony-os/SherpaOnnxHar/sherpa_onnx/README.md
harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5
harmony-os/SherpaOnnxSpeakerDiarization/entry/oh-package.json5
harmony-os/SherpaOnnxSpeakerIdentification/entry/oh-package.json5
harmony-os/SherpaOnnxStreamingAsr/entry/oh-package.json5
harmony-os/SherpaOnnxTts/entry/oh-package.json5
harmony-os/SherpaOnnxVadAsr/entry/README.md
harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5
jitpack.yml
new-release.sh
nodejs-addon-examples/package.json
pom.xml
sherpa-onnx/csrc/offline-whisper-model-config.cc
CHANGELOG.md
查看文件 @
cbe07ac
## 1.10.39
*
Fix building without TTS (#1691)
*
Add README for android libs. (#1693)
*
Fix: export-onnx.py(expected all tensors to be on the same device) (#1699)
*
Fix passing strings from C# to C. (#1701)
## 1.10.38
*
Fix initializing TTS in Python. (#1664)
...
...
CMakeLists.txt
查看文件 @
cbe07ac
...
...
@@ -10,7 +10,7 @@ project(sherpa-onnx)
# Remember to update
# ./CHANGELOG.md
# ./new-release.sh
set
(
SHERPA_ONNX_VERSION
"1.10.3
8
"
)
set
(
SHERPA_ONNX_VERSION
"1.10.3
9
"
)
# Disable warning about
#
...
...
android/SherpaOnnxAar/README.md
查看文件 @
cbe07ac
...
...
@@ -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.38/sherpa-onnx-v1.10.38-android.tar.bz2
tar xvf sherpa-onnx-v1.10.38-android.tar.bz2
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.39/sherpa-onnx-v1.10.39-android.tar.bz2
tar xvf sherpa-onnx-v1.10.39-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.3
8
.aar
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.10.3
9
.aar
```
...
...
android/SherpaOnnxJavaDemo/app/build.gradle
查看文件 @
cbe07ac
...
...
@@ -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.3
8
'
implementation
'com.github.k2-fsa:sherpa-onnx:v1.10.3
9
'
}
...
...
build-ios-shared.sh
查看文件 @
cbe07ac
...
...
@@ -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.3
8
</string>
<string>1.10.3
9
</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
...
...
dart-api-examples/add-punctuations/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -9,7 +9,7 @@ environment:
sdk
:
"
>=3.0.0
<4.0.0"
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/audio-tagging/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -9,7 +9,7 @@ environment:
sdk
:
"
>=3.0.0
<4.0.0"
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/keyword-spotter/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -9,7 +9,7 @@ environment:
sdk
:
"
>=3.0.0
<4.0.0"
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path
:
^1.9.0
...
...
dart-api-examples/non-streaming-asr/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/speaker-diarization/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -8,7 +8,7 @@ environment:
sdk
:
"
>=3.0.0
<4.0.0"
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path
:
^1.9.0
...
...
dart-api-examples/speaker-identification/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -9,7 +9,7 @@ environment:
sdk
:
"
>=3.0.0
<4.0.0"
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/streaming-asr/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -11,7 +11,7 @@ environment:
# Add regular dependencies here.
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/tts/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -8,7 +8,7 @@ environment:
# Add regular dependencies here.
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -10,7 +10,7 @@ environment:
sdk
:
"
>=3.0.0
<4.0.0"
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/vad/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -9,7 +9,7 @@ environment:
sdk
:
"
>=3.0.0
<4.0.0"
dependencies
:
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
path
:
^1.9.0
args
:
^2.5.0
...
...
flutter-examples/streaming_asr/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -5,7 +5,7 @@ description: >
publish_to
:
'
none'
version
:
1.10.3
8
version
:
1.10.3
9
topics
:
-
speech-recognition
...
...
@@ -31,7 +31,7 @@ dependencies:
record
:
^5.1.0
url_launcher
:
^6.2.6
sherpa_onnx
:
^1.10.3
8
sherpa_onnx
:
^1.10.3
9
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
...
...
flutter-examples/tts/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -5,7 +5,7 @@ description: >
publish_to
:
'
none'
# Remove this line if you wish to publish to pub.dev
version
:
1.10.3
8
version
:
1.10.3
9
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.3
8
sherpa_onnx
:
^1.10.3
9
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
url_launcher
:
6.2.6
...
...
flutter/sherpa_onnx/pubspec.yaml
查看文件 @
cbe07ac
...
...
@@ -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.3
8
version
:
1.10.3
9
homepage
:
https://github.com/k2-fsa/sherpa-onnx
...
...
@@ -30,23 +30,23 @@ dependencies:
flutter
:
sdk
:
flutter
sherpa_onnx_android
:
^1.10.3
8
sherpa_onnx_android
:
^1.10.3
9
# sherpa_onnx_android:
# path: ../sherpa_onnx_android
sherpa_onnx_macos
:
^1.10.3
8
sherpa_onnx_macos
:
^1.10.3
9
# sherpa_onnx_macos:
# path: ../sherpa_onnx_macos
sherpa_onnx_linux
:
^1.10.3
8
sherpa_onnx_linux
:
^1.10.3
9
# sherpa_onnx_linux:
# path: ../sherpa_onnx_linux
sherpa_onnx_windows
:
^1.10.3
8
sherpa_onnx_windows
:
^1.10.3
9
# sherpa_onnx_windows:
# path: ../sherpa_onnx_windows
sherpa_onnx_ios
:
^1.10.3
8
sherpa_onnx_ios
:
^1.10.3
9
# sherpa_onnx_ios:
# path: ../sherpa_onnx_ios
...
...
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
查看文件 @
cbe07ac
...
...
@@ -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.3
8
'
s
.
version
=
'1.10.3
9
'
s
.
summary
=
'A new Flutter FFI plugin project.'
s
.
description
=
<<-
DESC
A new Flutter FFI plugin project.
...
...
flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
查看文件 @
cbe07ac
...
...
@@ -4,7 +4,7 @@
#
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'sherpa_onnx_macos'
s
.
version
=
'1.10.3
8
'
s
.
version
=
'1.10.3
9
'
s
.
summary
=
'sherpa-onnx Flutter FFI plugin project.'
s
.
description
=
<<-
DESC
sherpa-onnx Flutter FFI plugin project.
...
...
harmony-os/SherpaOnnxHar/sherpa_onnx/README.md
查看文件 @
cbe07ac
...
...
@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
```
"dependencies": {
"sherpa_onnx": "1.10.3
8
",
"sherpa_onnx": "1.10.3
9
",
},
```
...
...
harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5
查看文件 @
cbe07ac
{
"name"
:
"sherpa_onnx"
,
"version"
:
"1.10.3
8
"
,
"version"
:
"1.10.3
9
"
,
"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"
,
...
...
harmony-os/SherpaOnnxSpeakerDiarization/entry/oh-package.json5
查看文件 @
cbe07ac
...
...
@@ -6,7 +6,7 @@
"author"
:
""
,
"license"
:
""
,
"dependencies"
:
{
"sherpa_onnx"
:
"1.10.3
8
"
"sherpa_onnx"
:
"1.10.3
9
"
}
}
...
...
harmony-os/SherpaOnnxSpeakerIdentification/entry/oh-package.json5
查看文件 @
cbe07ac
...
...
@@ -6,7 +6,7 @@
"author"
:
""
,
"license"
:
""
,
"dependencies"
:
{
"sherpa_onnx"
:
"1.10.3
8
"
,
"sherpa_onnx"
:
"1.10.3
9
"
,
}
}
...
...
harmony-os/SherpaOnnxStreamingAsr/entry/oh-package.json5
查看文件 @
cbe07ac
...
...
@@ -6,7 +6,7 @@
"author"
:
""
,
"license"
:
""
,
"dependencies"
:
{
"sherpa_onnx"
:
"1.10.3
8
"
,
"sherpa_onnx"
:
"1.10.3
9
"
,
}
}
...
...
harmony-os/SherpaOnnxTts/entry/oh-package.json5
查看文件 @
cbe07ac
...
...
@@ -6,7 +6,7 @@
"author"
:
""
,
"license"
:
""
,
"dependencies"
:
{
"sherpa_onnx"
:
"1.10.3
8
"
,
"sherpa_onnx"
:
"1.10.3
9
"
,
}
}
...
...
harmony-os/SherpaOnnxVadAsr/entry/README.md
查看文件 @
cbe07ac
# Introduction
Please download ./sherpa_onnx-v1.10.3
8
.har
Please download ./sherpa_onnx-v1.10.3
9
.har
from
<https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>
Hint: For users who have no access to huggingface, please use
...
...
harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5
查看文件 @
cbe07ac
...
...
@@ -7,7 +7,7 @@
"license"
:
""
,
"dependencies"
:
{
//
please
see
https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
"sherpa_onnx"
:
"1.10.3
8
"
,
"sherpa_onnx"
:
"1.10.3
9
"
,
}
}
...
...
jitpack.yml
查看文件 @
cbe07ac
...
...
@@ -2,8 +2,8 @@ jdk:
-
openjdk17
before_install
:
-
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.3
8/sherpa-onnx-1.10.38
.aar
-
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.3
9/sherpa-onnx-1.10.39
.aar
install
:
-
FILE="-Dfile=sherpa-onnx-1.10.38.aar"
-
mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.10.38 -Dpackaging=aar -DgeneratePom=true
-
FILE="-Dfile=sherpa-onnx-1.10.39.aar"
-
mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.10.39 -Dpackaging=aar -DgeneratePom=true
...
...
new-release.sh
查看文件 @
cbe07ac
...
...
@@ -2,18 +2,18 @@
set
-ex
sed -i.bak
's/1\.10\.37/1\.10\.38/g'
./build-ios-shared.sh
sed -i.bak
's/1\.10\.37/1\.10\.38/g'
./pom.xml
sed -i.bak
's/1\.10\.37/1\.10\.38/g'
./jitpack.yml
sed -i.bak
's/1\.10\.37/1\.10\.38/g'
./android/SherpaOnnxAar/README.md
sed -i.bak
's/1\.10\.38/1\.10\.39/g'
./build-ios-shared.sh
sed -i.bak
's/1\.10\.38/1\.10\.39/g'
./pom.xml
sed -i.bak
's/1\.10\.38/1\.10\.39/g'
./jitpack.yml
sed -i.bak
's/1\.10\.38/1\.10\.39/g'
./android/SherpaOnnxAar/README.md
find android -name build.gradle -type f -exec sed -i.bak
's/sherpa-onnx:v1\.10\.3
7/sherpa-onnx:v1\.10\.38
/g'
{}
\;
find android -name build.gradle -type f -exec sed -i.bak
's/sherpa-onnx:v1\.10\.3
8/sherpa-onnx:v1\.10\.39
/g'
{}
\;
find flutter -name
*
.yaml -type f -exec sed -i.bak
's/1\.10\.37/1\.10\.38/g'
{}
\;
find dart-api-examples -name
*
.yaml -type f -exec sed -i.bak
's/1\.10\.37/1\.10\.38/g'
{}
\;
find flutter-examples -name
*
.yaml -type f -exec sed -i.bak
's/1\.10\.37/1\.10\.38/g'
{}
\;
find flutter -name
*
.podspec -type f -exec sed -i.bak
's/1\.10\.37/1\.10\.38/g'
{}
\;
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak
's/1\.10\.37/1\.10\.38/g'
{}
\;
find flutter -name
*
.yaml -type f -exec sed -i.bak
's/1\.10\.38/1\.10\.39/g'
{}
\;
find dart-api-examples -name
*
.yaml -type f -exec sed -i.bak
's/1\.10\.38/1\.10\.39/g'
{}
\;
find flutter-examples -name
*
.yaml -type f -exec sed -i.bak
's/1\.10\.38/1\.10\.39/g'
{}
\;
find flutter -name
*
.podspec -type f -exec sed -i.bak
's/1\.10\.38/1\.10\.39/g'
{}
\;
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak
's/1\.10\.38/1\.10\.39/g'
{}
\;
find harmony-os -name
"README.md"
-type f -exec sed -i.bak
's/1\.10\.37/1\.10\.38/g'
{}
\;
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak
's/1\.10\.37/1\.10\.38/g'
{}
\;
find harmony-os -name
"README.md"
-type f -exec sed -i.bak
's/1\.10\.38/1\.10\.39/g'
{}
\;
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak
's/1\.10\.38/1\.10\.39/g'
{}
\;
...
...
nodejs-addon-examples/package.json
查看文件 @
cbe07ac
{
"dependencies"
:
{
"sherpa-onnx-node"
:
"^1.10.3
8
"
"sherpa-onnx-node"
:
"^1.10.3
9
"
}
}
...
...
pom.xml
查看文件 @
cbe07ac
...
...
@@ -4,7 +4,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.k2fsa.sherpa.onnx
</groupId>
<artifactId>
sherpa-onnx-android
</artifactId>
<version>
1.10.3
8
</version>
<version>
1.10.3
9
</version>
<url>
https://github.com/k2-fsa/sherpa-onnx
</url>
<packaging>
pom
</packaging>
<description>
First Android Library
</description>
...
...
sherpa-onnx/csrc/offline-whisper-model-config.cc
查看文件 @
cbe07ac
...
...
@@ -20,7 +20,7 @@ void OfflineWhisperModelConfig::Register(ParseOptions *po) {
po
->
Register
(
"whisper-language"
,
&
language
,
"The spoke language in the input audio file. Example values: "
"The spoke
n
language in the input audio file. Example values: "
"en, de, fr, zh, jp. If it is not given for a multilingual model, we will"
" infer the language from the input audio file. "
"Please refer to "
...
...
请
注册
或
登录
后发表评论