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
HuangLiangJie c8196d45ae
[TTS]Canton CLI, test=tts (#2977)
2 years ago
..
asr [ASR] add asr code-switch cli and demo, test='asr' (#2816) 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 3 years ago
text add encoding=utf8 for text cli. (#2896) 2 years ago
tts [TTS]Canton CLI, test=tts (#2977) 2 years ago
vector [audio] mv paddlespeech/audio to paddleaudio (#2706) 2 years ago
whisper [ASR]Whisper remove audio duration limit, test=asr (#2900) 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] add asr code-switch cli and demo, test='asr' (#2816) 2 years ago
download.py replace logger.info with logger.debug in cli, change default log level to INFO 3 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 3 years ago
utils.py Merge pull request #2048 from KPatr1ck/import_bug 3 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