diff --git a/examples/dataset/aidatatang_200zh/.gitignore b/dataset/aidatatang_200zh/.gitignore similarity index 100% rename from examples/dataset/aidatatang_200zh/.gitignore rename to dataset/aidatatang_200zh/.gitignore diff --git a/examples/dataset/aidatatang_200zh/README.md b/dataset/aidatatang_200zh/README.md similarity index 100% rename from examples/dataset/aidatatang_200zh/README.md rename to dataset/aidatatang_200zh/README.md diff --git a/examples/dataset/aidatatang_200zh/aidatatang_200zh.py b/dataset/aidatatang_200zh/aidatatang_200zh.py similarity index 100% rename from examples/dataset/aidatatang_200zh/aidatatang_200zh.py rename to dataset/aidatatang_200zh/aidatatang_200zh.py diff --git a/examples/dataset/aishell/.gitignore b/dataset/aishell/.gitignore similarity index 100% rename from examples/dataset/aishell/.gitignore rename to dataset/aishell/.gitignore diff --git a/examples/dataset/aishell/README.md b/dataset/aishell/README.md similarity index 100% rename from examples/dataset/aishell/README.md rename to dataset/aishell/README.md diff --git a/examples/dataset/aishell/aishell.py b/dataset/aishell/aishell.py similarity index 100% rename from examples/dataset/aishell/aishell.py rename to dataset/aishell/aishell.py diff --git a/examples/dataset/aishell3/README.md b/dataset/aishell3/README.md similarity index 100% rename from examples/dataset/aishell3/README.md rename to dataset/aishell3/README.md diff --git a/examples/dataset/chime3_background/chime3_background.py b/dataset/chime3_background/chime3_background.py similarity index 100% rename from examples/dataset/chime3_background/chime3_background.py rename to dataset/chime3_background/chime3_background.py diff --git a/examples/dataset/gigaspeech/.gitignore b/dataset/gigaspeech/.gitignore similarity index 100% rename from examples/dataset/gigaspeech/.gitignore rename to dataset/gigaspeech/.gitignore diff --git a/examples/dataset/gigaspeech/README.md b/dataset/gigaspeech/README.md similarity index 100% rename from examples/dataset/gigaspeech/README.md rename to dataset/gigaspeech/README.md diff --git a/examples/dataset/gigaspeech/gigaspeech.py b/dataset/gigaspeech/gigaspeech.py similarity index 100% rename from examples/dataset/gigaspeech/gigaspeech.py rename to dataset/gigaspeech/gigaspeech.py diff --git a/examples/dataset/gigaspeech/run.sh b/dataset/gigaspeech/run.sh similarity index 100% rename from examples/dataset/gigaspeech/run.sh rename to dataset/gigaspeech/run.sh diff --git a/examples/dataset/librispeech/.gitignore b/dataset/librispeech/.gitignore similarity index 100% rename from examples/dataset/librispeech/.gitignore rename to dataset/librispeech/.gitignore diff --git a/examples/dataset/librispeech/librispeech.py b/dataset/librispeech/librispeech.py similarity index 100% rename from examples/dataset/librispeech/librispeech.py rename to dataset/librispeech/librispeech.py diff --git a/examples/dataset/magicdata/README.md b/dataset/magicdata/README.md similarity index 100% rename from examples/dataset/magicdata/README.md rename to dataset/magicdata/README.md diff --git a/examples/dataset/mini_librispeech/.gitignore b/dataset/mini_librispeech/.gitignore similarity index 100% rename from examples/dataset/mini_librispeech/.gitignore rename to dataset/mini_librispeech/.gitignore diff --git a/examples/dataset/mini_librispeech/mini_librispeech.py b/dataset/mini_librispeech/mini_librispeech.py similarity index 100% rename from examples/dataset/mini_librispeech/mini_librispeech.py rename to dataset/mini_librispeech/mini_librispeech.py diff --git a/examples/dataset/multi_cn/README.md b/dataset/multi_cn/README.md similarity index 100% rename from examples/dataset/multi_cn/README.md rename to dataset/multi_cn/README.md diff --git a/examples/dataset/musan/.gitignore b/dataset/musan/.gitignore similarity index 100% rename from examples/dataset/musan/.gitignore rename to dataset/musan/.gitignore diff --git a/examples/dataset/musan/musan.py b/dataset/musan/musan.py similarity index 100% rename from examples/dataset/musan/musan.py rename to dataset/musan/musan.py diff --git a/examples/dataset/primewords/README.md b/dataset/primewords/README.md similarity index 100% rename from examples/dataset/primewords/README.md rename to dataset/primewords/README.md diff --git a/examples/dataset/rir_noise/.gitignore b/dataset/rir_noise/.gitignore similarity index 100% rename from examples/dataset/rir_noise/.gitignore rename to dataset/rir_noise/.gitignore diff --git a/examples/dataset/rir_noise/rir_noise.py b/dataset/rir_noise/rir_noise.py similarity index 100% rename from examples/dataset/rir_noise/rir_noise.py rename to dataset/rir_noise/rir_noise.py diff --git a/examples/dataset/st-cmds/README.md b/dataset/st-cmds/README.md similarity index 100% rename from examples/dataset/st-cmds/README.md rename to dataset/st-cmds/README.md diff --git a/examples/dataset/ted_en_zh/.gitignore b/dataset/ted_en_zh/.gitignore similarity index 100% rename from examples/dataset/ted_en_zh/.gitignore rename to dataset/ted_en_zh/.gitignore diff --git a/examples/dataset/ted_en_zh/ted_en_zh.py b/dataset/ted_en_zh/ted_en_zh.py similarity index 100% rename from examples/dataset/ted_en_zh/ted_en_zh.py rename to dataset/ted_en_zh/ted_en_zh.py diff --git a/examples/dataset/thchs30/.gitignore b/dataset/thchs30/.gitignore similarity index 100% rename from examples/dataset/thchs30/.gitignore rename to dataset/thchs30/.gitignore diff --git a/examples/dataset/thchs30/README.md b/dataset/thchs30/README.md similarity index 100% rename from examples/dataset/thchs30/README.md rename to dataset/thchs30/README.md diff --git a/examples/dataset/thchs30/thchs30.py b/dataset/thchs30/thchs30.py similarity index 100% rename from examples/dataset/thchs30/thchs30.py rename to dataset/thchs30/thchs30.py diff --git a/examples/dataset/timit/.gitignore b/dataset/timit/.gitignore similarity index 100% rename from examples/dataset/timit/.gitignore rename to dataset/timit/.gitignore diff --git a/examples/dataset/timit/timit.py b/dataset/timit/timit.py similarity index 100% rename from examples/dataset/timit/timit.py rename to dataset/timit/timit.py diff --git a/examples/dataset/timit/timit_kaldi_standard_split.py b/dataset/timit/timit_kaldi_standard_split.py similarity index 100% rename from examples/dataset/timit/timit_kaldi_standard_split.py rename to dataset/timit/timit_kaldi_standard_split.py diff --git a/examples/dataset/voxforge/run_data.sh b/dataset/voxforge/run_data.sh similarity index 78% rename from examples/dataset/voxforge/run_data.sh rename to dataset/voxforge/run_data.sh index 5af9d0cc6..26214a824 100644 --- a/examples/dataset/voxforge/run_data.sh +++ b/dataset/voxforge/run_data.sh @@ -1,10 +1,10 @@ #! /usr/bin/env bash -TARGET_DIR=${MAIN_ROOT}/examples/dataset/voxforge +TARGET_DIR=${MAIN_ROOT}/dataset/voxforge mkdir -p ${TARGET_DIR} # download data, generate manifests -python ${MAIN_ROOT}/examples/dataset/voxforge/voxforge.py \ +python ${MAIN_ROOT}/dataset/voxforge/voxforge.py \ --manifest_prefix="${TARGET_DIR}/manifest" \ --target_dir="${TARGET_DIR}" \ --is_merge_dialect=True \ diff --git a/examples/dataset/voxforge/voxforge.py b/dataset/voxforge/voxforge.py similarity index 100% rename from examples/dataset/voxforge/voxforge.py rename to dataset/voxforge/voxforge.py diff --git a/examples/aishell/asr0/local/data.sh b/examples/aishell/asr0/local/data.sh index 1032cedc8..ec692eba6 100755 --- a/examples/aishell/asr0/local/data.sh +++ b/examples/aishell/asr0/local/data.sh @@ -9,7 +9,7 @@ dict_dir=data/lang_char mkdir -p data mkdir -p ${dict_dir} -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} if [ ${stage} -le -1 ] && [ ${stop_stage} -ge -1 ]; then diff --git a/examples/aishell/asr1/local/data.sh b/examples/aishell/asr1/local/data.sh index 418432318..3657fd7b6 100755 --- a/examples/aishell/asr1/local/data.sh +++ b/examples/aishell/asr1/local/data.sh @@ -8,7 +8,7 @@ dict_dir=data/lang_char mkdir -p data mkdir -p ${dict_dir} -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} if [ ${stage} -le -1 ] && [ ${stop_stage} -ge -1 ]; then diff --git a/examples/aishell/asr1/local/tlg.sh b/examples/aishell/asr1/local/tlg.sh index f5287f794..7e1665ddd 100755 --- a/examples/aishell/asr1/local/tlg.sh +++ b/examples/aishell/asr1/local/tlg.sh @@ -9,7 +9,7 @@ lmtype=srilm source utils/parse_options.sh -data=${MAIN_ROOT}/examples/dataset/${corpus} +data=${MAIN_ROOT}/dataset/${corpus} lexicon=$data/resource_aishell/lexicon.txt text=$data/data_aishell/transcript/aishell_transcript_v0.8.txt diff --git a/examples/librispeech/asr0/local/data.sh b/examples/librispeech/asr0/local/data.sh index fa2c9b2f7..b97e8c211 100755 --- a/examples/librispeech/asr0/local/data.sh +++ b/examples/librispeech/asr0/local/data.sh @@ -10,7 +10,7 @@ source ${MAIN_ROOT}/utils/parse_options.sh mkdir -p data mkdir -p ${dict_dir} -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} if [ ${stage} -le -1 ] && [ ${stop_stage} -ge -1 ]; then diff --git a/examples/librispeech/asr1/local/data.sh b/examples/librispeech/asr1/local/data.sh index a0bf9a2d3..3037c366f 100755 --- a/examples/librispeech/asr1/local/data.sh +++ b/examples/librispeech/asr1/local/data.sh @@ -19,7 +19,7 @@ source ${MAIN_ROOT}/utils/parse_options.sh mkdir -p data mkdir -p ${dict_dir} -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} if [ ${stage} -le -1 ] && [ ${stop_stage} -ge -1 ]; then diff --git a/examples/librispeech/asr2/local/data.sh b/examples/librispeech/asr2/local/data.sh index b232f35a0..c98c46952 100755 --- a/examples/librispeech/asr2/local/data.sh +++ b/examples/librispeech/asr2/local/data.sh @@ -15,7 +15,7 @@ do_delta=false # Set this to somewhere where you want to put your data, or where # someone else has already put it. You'll want to change this # if you're not on the CLSP grid. -datadir=${MAIN_ROOT}/examples/dataset/ +datadir=${MAIN_ROOT}/dataset/ # bpemode (unigram or bpe) nbpe=5000 @@ -36,7 +36,7 @@ recog_set="test_clean test_other dev_clean dev_other" mkdir -p data -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} if [ ${stage} -le -1 ] && [ ${stop_stage} -ge -1 ]; then # download data, generate manifests diff --git a/examples/other/1xt2x/aishell/local/data.sh b/examples/other/1xt2x/aishell/local/data.sh index 85574260b..a9d5b1412 100755 --- a/examples/other/1xt2x/aishell/local/data.sh +++ b/examples/other/1xt2x/aishell/local/data.sh @@ -12,7 +12,7 @@ stop_stage=100 source ${MAIN_ROOT}/utils/parse_options.sh mkdir -p data -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} bash local/download_model.sh ${ckpt_dir} diff --git a/examples/other/1xt2x/baidu_en8k/local/data.sh b/examples/other/1xt2x/baidu_en8k/local/data.sh index 8e378ff05..9b017324d 100755 --- a/examples/other/1xt2x/baidu_en8k/local/data.sh +++ b/examples/other/1xt2x/baidu_en8k/local/data.sh @@ -13,7 +13,7 @@ unit_type=char source ${MAIN_ROOT}/utils/parse_options.sh mkdir -p data -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} diff --git a/examples/other/1xt2x/librispeech/local/data.sh b/examples/other/1xt2x/librispeech/local/data.sh index 7387472d5..43b5426d9 100755 --- a/examples/other/1xt2x/librispeech/local/data.sh +++ b/examples/other/1xt2x/librispeech/local/data.sh @@ -14,7 +14,7 @@ unit_type=char source ${MAIN_ROOT}/utils/parse_options.sh mkdir -p data -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} bash local/download_model.sh ${ckpt_dir} diff --git a/examples/ted_en_zh/st0/local/data.sh b/examples/ted_en_zh/st0/local/data.sh index fb4efbe35..097cd3a85 100755 --- a/examples/ted_en_zh/st0/local/data.sh +++ b/examples/ted_en_zh/st0/local/data.sh @@ -16,7 +16,7 @@ data_dir=./TED-En-Zh . ${MAIN_ROOT}/utils/parse_options.sh || exit -1; -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} mkdir -p data mkdir -p ${dict_dir} diff --git a/examples/ted_en_zh/st1/local/data.sh b/examples/ted_en_zh/st1/local/data.sh index 2e9d05d10..aa958cfde 100755 --- a/examples/ted_en_zh/st1/local/data.sh +++ b/examples/ted_en_zh/st1/local/data.sh @@ -15,7 +15,7 @@ data_dir=./TED_EnZh source ${MAIN_ROOT}/utils/parse_options.sh -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} mkdir -p data mkdir -p ${dict_dir} diff --git a/examples/thchs30/align0/local/data.sh b/examples/thchs30/align0/local/data.sh index 8614a0415..6d6fc4e8f 100644 --- a/examples/thchs30/align0/local/data.sh +++ b/examples/thchs30/align0/local/data.sh @@ -6,7 +6,7 @@ stop_stage=100 source ${MAIN_ROOT}/utils/parse_options.sh mkdir -p data -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} LEXICON_NAME=$1 diff --git a/examples/timit/asr1/local/data.sh b/examples/timit/asr1/local/data.sh index fb720932d..1f631f7fd 100755 --- a/examples/timit/asr1/local/data.sh +++ b/examples/timit/asr1/local/data.sh @@ -12,7 +12,7 @@ TIMIT_path= mkdir -p data mkdir -p ${dict_dir} -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} diff --git a/examples/tiny/asr0/local/data.sh b/examples/tiny/asr0/local/data.sh index 2a544ef89..4251d5714 100755 --- a/examples/tiny/asr0/local/data.sh +++ b/examples/tiny/asr0/local/data.sh @@ -10,7 +10,7 @@ dict_dir=data/lang_char mkdir -p data mkdir -p ${dict_dir} -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} if [ ${stage} -le -1 ] && [ ${stop_stage} -ge -1 ]; then diff --git a/examples/tiny/asr1/local/data.sh b/examples/tiny/asr1/local/data.sh index 1ef9f7768..16a029a38 100755 --- a/examples/tiny/asr1/local/data.sh +++ b/examples/tiny/asr1/local/data.sh @@ -14,7 +14,7 @@ bpeprefix="${dict_dir}/bpe_${bpemode}_${nbpe}" mkdir -p data mkdir -p ${dict_dir} -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} if [ ${stage} -le -1 ] && [ ${stop_stage} -ge -1 ]; then diff --git a/examples/wenetspeech/asr1/local/data.sh b/examples/wenetspeech/asr1/local/data.sh index 67b3d5a55..7dd478d19 100755 --- a/examples/wenetspeech/asr1/local/data.sh +++ b/examples/wenetspeech/asr1/local/data.sh @@ -27,7 +27,7 @@ set -o pipefail mkdir -p data -TARGET_DIR=${MAIN_ROOT}/examples/dataset +TARGET_DIR=${MAIN_ROOT}/dataset mkdir -p ${TARGET_DIR} if [ ${stage} -le -2 ] && [ ${stop_stage} -ge -2 ]; then