Skip to content

Latest commit

 

History

History

java-api-examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Introduction

This directory contains examples for the JAVA API of sherpa-onnx.

Usage

Streaming Speech recognition

./run-streaming-asr-from-mic-transducer.sh
./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

./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

./run-non-streaming-tts-piper-en.sh
./run-non-streaming-tts-coqui-de.sh
./run-non-streaming-tts-vits-zh.sh

Spoken language identification

./run-spoken-language-identification-whisper.sh

Add punctuations to text

The punctuation model supports both English and Chinese.

./run-add-punctuation-zh-en.sh

Audio tagging

./run-audio-tagging-zipformer-from-file.sh
./run-audio-tagging-ced-from-file.sh

Speaker identification

./run-speaker-identification.sh

VAD with a microphone

./run-vad-from-mic.sh

VAD with a microphone + Non-streaming Paraformer for speech recognition

./run-vad-from-mic-non-streaming-paraformer.sh

VAD with a microphone + Non-streaming Whisper tiny.en for speech recognition

./run-vad-from-mic-non-streaming-whisper.sh

VAD (Remove silence)

./run-vad-remove-slience.sh

VAD + Non-streaming Paraformer for speech recognition

./run-vad-non-streaming-paraformer.sh

Keyword spotter

./run-kws-from-file.sh