sooftware / ksponspeech

Pre-processing KsponSpeech corpus (Korean Speech dataset) provided by AI Hub.
MIT License
89 stars 17 forks source link
aihub korean-speech kospeech ksponspeech

KsponSpeech

Pre-processing KsponSpeech corpus provided by AI Hub

It's been a while since KsponSpeech was released, but it's hard to compare performance because there's no established preprocessing method. So we're revealing the pre-processing method we used in the KoSpeech project. This project provides processing in characters, subwords, and grapheme units.

Intro

KsponSpeech-preprocess is repository for pre-processing KsponSpeech corpus provided by AI Hub.
KsponSpeech corpus is a 1000h Korean speech data corpus provided by AI Hub in Korea.
Anyone can download this dataset just by applying. The transcription rules can see here.

You can pre-process in various output-units, such as character, subword, grapheme
We will explain the details in the Output-Unit part below.

Prerequisites

Usage

  1. Set options in run.sh
python main.py --dataset_path $DATASET_PATH --vocab_dest $VOCAB_DEST --output_unit $OUTPUT_UNIT --preprocess_mode $PREPROCESS_MODE --vocab_size $VOCAB_SIZE
  1. Run run.sh

    $ ./run.sh
  2. Leave the computer running for hours.

Preprocess

You can choose between phonetic transcription and spelling transcription to preprocess.

Output-Unit

This project provides processing in characters, subwords, and grapheme units.

Conversion to Numeric id

Troubleshoots and Contributing

If you have any questions, bug reports, and feature requests, please open an issue on Github.
For live discussions, please go to our gitter or Contacts sh951011@gmail.com please.

I appreciate any kind of feedback or contribution. Feel free to proceed with small issues like bug fixes, documentation improvement. For major contributions and new features, please discuss with the collaborators in corresponding issues.

Author