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
YangZhou 42ff946007
[audio] mv paddlespeech/audio to paddleaudio (#2706)
2 years ago
..
asr fix u2pp model (#2549) 2 years ago
cls [audio] mv paddlespeech/audio to paddleaudio (#2706) 2 years ago
kws [audio] mv paddlespeech/audio to paddleaudio (#2706) 2 years ago
ssl [ASR] support wav2vec2-zh cli, test=asr (#2697) 2 years ago
st replace logger.info with logger.debug in cli, change default log level to INFO 2 years ago
text precomited 2 years ago
tts [tts] Add male voice for tts (#2660) 2 years ago
vector [audio] mv paddlespeech/audio to paddleaudio (#2706) 2 years ago
whisper [ASR] fix Whisper cli model download path error. test=asr (#2679) 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. 3 years ago
base_commands.py [ASR] support wav2vec2 command line and demo (#2658) 2 years ago
download.py replace logger.info with logger.debug in cli, change default log level to INFO 2 years ago
entry.py Dynamic cli commands registration. 3 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