46 lines
896 B
Markdown
Executable File
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
|
|
```
|