Fix publishing har packages for HarmonyOS (#1576)

This commit is contained in:
Fangjun Kuang
2024-11-29 12:20:12 +08:00
committed by GitHub
parent f3f8961462
commit be159f943e
6 changed files with 95 additions and 5 deletions

View File

@@ -10,3 +10,33 @@ It also supports embedded systems, Android, iOS, HarmonyOS,
Raspberry Pi, RISC-V, x86_64 servers, websocket server/client,
C/C++, Python, Kotlin, C#, Go, NodeJS, Java, Swift, Dart, JavaScript,
Flutter, Object Pascal, Lazarus, Rust, etc.
# Installation
To use `sherpa-onnx` in your project, please either use
```
ohpm install sherpa_onnx
```
or update your `oh-package.json5` to include the following:
```
"dependencies": {
"sherpa_onnx": "1.10.32",
},
```
Note that we recommend always using the latest version.
# Examples
| Demo | URL | Description|
|------|-----|------------|
|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 speech recognition|
# Documentation
If you have any issues, please either look at our doc at
<https://k2-fsa.github.io/sherpa/onnx/> or create an issue at
<https://github.com/k2-fsa/sherpa-onnx/issues>