This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex_bi_series-sherpa-onnx/java-api-examples/README.md
2024-04-26 22:06:48 +08:00

46 lines
896 B
Markdown
Executable File

# Introduction
This directory contains examples for the JAVA API of sherpa-onnx.
# Usage
## Streaming Speech recognition
```
./run-streaming-decode-file-ctc.sh
./run-streaming-decode-file-ctc-hlg.sh
./run-streaming-decode-file-paraformer.sh
./run-streaming-decode-file-transducer.sh
```
## Non-Streaming Speech recognition
```bash
./run-non-streaming-decode-file-paraformer.sh
./run-non-streaming-decode-file-transducer.sh
./run-non-streaming-decode-file-whisper.sh
./run-non-streaming-decode-file-nemo.sh
```
## Non-Streaming text-to-speech
```bash
./run-non-streaming-tts-piper-en.sh
./run-non-streaming-tts-coqui-de.sh
./run-non-streaming-tts-vits-zh.sh
```
## Spoken language identification
```bash
./run-spoken-language-identification-whisper.sh
```
## Add puncutations to text
The punctuation model supports both English and Chinese.
```bash
./run-add-punctuation-zh-en.sh
```