Add non-streaming ASR examples for Dart API (#1007)
This commit is contained in:
19
scripts/dart/non-streaming-asr-pubspec.yaml
Normal file
19
scripts/dart/non-streaming-asr-pubspec.yaml
Normal 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
|
||||
18
scripts/dart/vad-pubspec.yaml
Normal file
18
scripts/dart/vad-pubspec.yaml
Normal 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
|
||||
Reference in New Issue
Block a user