You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/paddlespeech/cli
zxcd 91170bd260
adapt view behavior change, fix KeyError. (#3794)
5 months ago
..
asr adapt view behavior change, fix KeyError. (#3794) 5 months ago
cls [audio] mv paddlespeech/audio to paddleaudio (#2706) 2 years ago
kws [audio] mv paddlespeech/audio to paddleaudio (#2706) 2 years ago
ssl Final cleaning; Modified SSL/infer.py and README for wavlm inclusion in model options 1 year ago
st fix error in tts/st 1 year ago
text add encoding=utf8 for text cli. (#2896) 2 years ago
tts fix error in tts/st 1 year ago
vector [audio] mv paddlespeech/audio to paddleaudio (#2706) 2 years ago
whisper [ASR] fix asr 0-d tensor. (#3214) 2 years ago
README.md Update README.md 2 years ago
README_cn.md Update README_cn.md 2 years ago
__init__.py Dynamic cli commands registration. 2 years ago
base_commands.py [ASR] add asr code-switch cli and demo, test='asr' (#2816) 2 years ago
download.py [BUG] Fix progress bar unit. (#3177) 2 years ago
entry.py Dynamic cli commands registration. 2 years ago
executor.py format paddlespeech with pre-commit (#2331) 2 years ago
log.py replace logger.info with logger.debug in cli, change default log level to INFO 2 years ago
utils.py Merge pull request #2048 from KPatr1ck/import_bug 2 years ago

README.md

PaddleSpeech Command Line

(简体中文|English)

The simplest approach to use PaddleSpeech models.

Help

paddlespeech help

Audio Classification

paddlespeech cls --input input.wav

Speaker Verification

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

Automatic Speech Recognition

paddlespeech asr --lang zh --input input_16k.wav

Speech Translation (English to Chinese)

(not support for Windows now)

paddlespeech st --input input_16k.wav

Text-to-Speech

paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav

Text Post-precessing

  • Punctuation Restoration
    paddlespeech text --task punc --input 今天的天气真不错啊你下午有空吗我想约你一起去吃饭
    
  • Faster Punctuation Restoration
    paddlespeech text --task punc --input 今天的天气真不错啊你下午有空吗我想约你一起去吃饭 --model ernie_linear_p3_wudao_fast