README.md 1.1 KB
Newer Older
K
KP 已提交
1 2
# PaddleSpeech Command Line

K
KP 已提交
3 4
([简体中文](./README_cn.md)|English)

K
KP 已提交
5 6 7
 The simplest approach to use PaddleSpeech models.

 ## Help
小湉湉's avatar
小湉湉 已提交
8 9 10 11 12 13 14
 ```bash
 paddlespeech help
 ```
 ## Audio Classification
 ```bash
 paddlespeech cls --input input.wav
 ```
K
KP 已提交
15

16 17 18 19 20 21
 ## Speaker Verification

 ```bash
 paddlespeech vector --task spk --input input_16k.wav
 ```

小湉湉's avatar
小湉湉 已提交
22 23 24 25 26 27
 ## Automatic Speech Recognition
 ```
 paddlespeech asr --lang zh --input input_16k.wav
 ```
 
 ## Speech Translation (English to Chinese)
小湉湉's avatar
小湉湉 已提交
28 29
 
 (not support for Windows now)
小湉湉's avatar
小湉湉 已提交
30 31 32 33 34 35 36 37 38
 ```bash
 paddlespeech st --input input_16k.wav
 ```
 
 ## Text-to-Speech
 ```bash
 paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav
 ```
 
K
KP 已提交
39 40 41 42 43 44
 ## Text Post-precessing

- Punctuation Restoration
  ```bash
  paddlespeech text --task punc --input 今天的天气真不错啊你下午有空吗我想约你一起去吃饭
  ```
Z
Zhao Yuting 已提交
45
- Faster Punctuation Restoration
Z
Zhao Yuting 已提交
46
  ```bash
Z
Zhao Yuting 已提交
47
  paddlespeech text --task punc --input 今天的天气真不错啊你下午有空吗我想约你一起去吃饭 --model ernie_linear_p3_wudao_fast
Z
Zhao Yuting 已提交
48
  ```