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
2024-12-06 17:38:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-12-06 17:38:40 +0800
Commit
91a43cccffd0179ca8b59f2c236954d25480d717
91a43ccc
1 parent
84821b1f
Update doc links for HarmonyOS (#1601)
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
20 行增加
和
36 行删除
harmony-os/README.md
harmony-os/SherpaOnnxHar/README.md
harmony-os/SherpaOnnxTts/README.md
harmony-os/SherpaOnnxVadAsr/README.md
harmony-os/README.md
查看文件 @
91a43cc
...
...
@@ -2,8 +2,13 @@
-
[
./SherpaOnnxHar
](
./SherpaOnnxHar
)
It is for building
`sherpa_onnx.har`
.
If you don't need to change the C++ or Typescript code of sherpa-onnx, then
you can download pre-built
`sherpa_onnx.har`
from us. Please refer to
our
[
doc
](
https://k2-fsa.github.io/sherpa/onnx
)
for how to download it.
you can download pre-built
`sherpa_onnx.har` from us. Just run `ohpm install sherpa_onnx`
.
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.
-
[
./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>
-
[
./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>
...
...
harmony-os/SherpaOnnxHar/README.md
查看文件 @
91a43cc
# Introduction
How to build
`sherpa_onnx.har`
from the command line:
How to build `sherpa_onnx.har` from the command line
----------------------------------------------------
```
bash
git clone https://github.com/k2-fsa/sherpa-onnx
cd
sherpa-onnx
./build-ohos-arm64-v8a.sh
./build-ohos-x86-64.sh
cd
harmony-os/SherpaOnnxHar
hvigorw clean --no-daemon
hvigorw --mode module -p
product
=
default -p
module
=
sherpa_onnx@default assembleHar --analyze
=
normal --parallel --incremental --no-daemon
ls -lh ./sherpa_onnx/build/default/outputs/default/sherpa_onnx.har
```
Pre-built
`har`
packages can be found at
<https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>
You can also download it using
```
wget https://ohpm.openharmony.cn/ohpm/sherpa_onnx/-/sherpa_onnx-1.10.33.har
# Please replace the version 1.10.33 if needed.
```
You can also use
```
ohpm install sherpa_onnx
```
to install it.
See also
<https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx>
Please see https://k2-fsa.github.io/sherpa/onnx/harmony-os/how-to-build-har.html
...
...
harmony-os/SherpaOnnxTts/README.md
0 → 100644
查看文件 @
91a43cc
# Introduction
Please see
https://k2-fsa.github.io/sherpa/onnx/harmony-os/tts.html
for how to run code in this folder.
...
...
harmony-os/SherpaOnnxVadAsr/README.md
0 → 100644
查看文件 @
91a43cc
# Introduction
Please see
https://k2-fsa.github.io/sherpa/onnx/harmony-os/vad-asr.html
for how to run code in this folder.
...
...
请
注册
或
登录
后发表评论