Add non-streaming ASR examples for Dart API (#1007)

This commit is contained in:
Fangjun Kuang
2024-06-14 18:40:16 +08:00
committed by GitHub
parent b1f08c0a20
commit d94506698d
35 changed files with 984 additions and 37 deletions

View File

@@ -0,0 +1,19 @@
name: non_streaming_asr
description: >
This example demonstrates how to use the Dart API for Non-streaming speech recognition. Specifically, we use the following models as examples, whisper, zipformer, and paraformer.
version: 1.0.0
environment:
sdk: ^3.4.0
# Add regular dependencies here.
dependencies:
sherpa_onnx:
path: ../../sherpa-onnx/flutter
path: ^1.9.0
args: ^2.5.0
dev_dependencies:
lints: ^3.0.0

View File

@@ -0,0 +1,18 @@
name: vad
description: >
This example demonstrates how to use the Dart API for VAD (voice activity detection).
version: 1.0.0
environment:
sdk: ^3.4.0
dependencies:
sherpa_onnx:
path: ../../sherpa-onnx/flutter
path: ^1.9.0
args: ^2.5.0
dev_dependencies:
lints: ^3.0.0