Dart API for adding punctuations to text (#1182)

This commit is contained in:
Fangjun Kuang
2024-07-29 12:41:52 +08:00
committed by GitHub
parent cd1fedaa49
commit 646f99c870
30 changed files with 327 additions and 22 deletions

View File

@@ -0,0 +1,8 @@
# Introduction
This example shows how to use the Dart API from sherpa-onnx to add punctuations to text.
| File | Description|
|------|------------|
|[./bin/punctuations.dart](./bin/punctuations.dart)| Use a [CT Transformer model](https://modelscope.cn/models/iic/punc_ct-transformer_zh-cn-common-vocab272727-pytorch/summary) to add punctuations to text. See [./run-ct-transformer.sh](./run-ct-transformer.sh)|