From 1216917ce03a6ae05753bc6d979c1abe11a00a3c Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Mon, 5 Jul 2021 02:26:28 +0000 Subject: [PATCH] move scripts of ngram to s0 --- examples/ngram_lm/{ => s0}/README.md | 0 examples/ngram_lm/{ => s0}/data/README.md | 0 examples/ngram_lm/{ => s0}/data/custom_confusion.txt | 0 examples/ngram_lm/{ => s0}/data/text_correct.txt | 0 examples/ngram_lm/{ => s0}/local/build_zh_lm.sh | 0 examples/ngram_lm/{ => s0}/local/download_lm_zh.sh | 0 examples/ngram_lm/{ => s0}/local/kenlm_score_test.py | 0 examples/ngram_lm/{ => s0}/path.sh | 4 ++-- examples/ngram_lm/{ => s0}/requirements.txt | 0 examples/ngram_lm/{ => s0}/run.sh | 0 10 files changed, 2 insertions(+), 2 deletions(-) rename examples/ngram_lm/{ => s0}/README.md (100%) rename examples/ngram_lm/{ => s0}/data/README.md (100%) rename examples/ngram_lm/{ => s0}/data/custom_confusion.txt (100%) rename examples/ngram_lm/{ => s0}/data/text_correct.txt (100%) rename examples/ngram_lm/{ => s0}/local/build_zh_lm.sh (100%) rename examples/ngram_lm/{ => s0}/local/download_lm_zh.sh (100%) rename examples/ngram_lm/{ => s0}/local/kenlm_score_test.py (100%) rename examples/ngram_lm/{ => s0}/path.sh (69%) rename examples/ngram_lm/{ => s0}/requirements.txt (100%) rename examples/ngram_lm/{ => s0}/run.sh (100%) diff --git a/examples/ngram_lm/README.md b/examples/ngram_lm/s0/README.md similarity index 100% rename from examples/ngram_lm/README.md rename to examples/ngram_lm/s0/README.md diff --git a/examples/ngram_lm/data/README.md b/examples/ngram_lm/s0/data/README.md similarity index 100% rename from examples/ngram_lm/data/README.md rename to examples/ngram_lm/s0/data/README.md diff --git a/examples/ngram_lm/data/custom_confusion.txt b/examples/ngram_lm/s0/data/custom_confusion.txt similarity index 100% rename from examples/ngram_lm/data/custom_confusion.txt rename to examples/ngram_lm/s0/data/custom_confusion.txt diff --git a/examples/ngram_lm/data/text_correct.txt b/examples/ngram_lm/s0/data/text_correct.txt similarity index 100% rename from examples/ngram_lm/data/text_correct.txt rename to examples/ngram_lm/s0/data/text_correct.txt diff --git a/examples/ngram_lm/local/build_zh_lm.sh b/examples/ngram_lm/s0/local/build_zh_lm.sh similarity index 100% rename from examples/ngram_lm/local/build_zh_lm.sh rename to examples/ngram_lm/s0/local/build_zh_lm.sh diff --git a/examples/ngram_lm/local/download_lm_zh.sh b/examples/ngram_lm/s0/local/download_lm_zh.sh similarity index 100% rename from examples/ngram_lm/local/download_lm_zh.sh rename to examples/ngram_lm/s0/local/download_lm_zh.sh diff --git a/examples/ngram_lm/local/kenlm_score_test.py b/examples/ngram_lm/s0/local/kenlm_score_test.py similarity index 100% rename from examples/ngram_lm/local/kenlm_score_test.py rename to examples/ngram_lm/s0/local/kenlm_score_test.py diff --git a/examples/ngram_lm/path.sh b/examples/ngram_lm/s0/path.sh similarity index 69% rename from examples/ngram_lm/path.sh rename to examples/ngram_lm/s0/path.sh index 84e2de7d..5f580bc4 100644 --- a/examples/ngram_lm/path.sh +++ b/examples/ngram_lm/s0/path.sh @@ -1,4 +1,4 @@ -export MAIN_ROOT=${PWD}/../../ +export MAIN_ROOT=${PWD}/../../../ export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH} export LC_ALL=C @@ -7,4 +7,4 @@ export LC_ALL=C export PYTHONIOENCODING=UTF-8 export PYTHONPATH=${MAIN_ROOT}:${PYTHONPATH} -export LD_LIBRARY_PATH=/usr/local/lib/:${LD_LIBRARY_PATH} \ No newline at end of file +export LD_LIBRARY_PATH=/usr/local/lib/:${LD_LIBRARY_PATH} diff --git a/examples/ngram_lm/requirements.txt b/examples/ngram_lm/s0/requirements.txt similarity index 100% rename from examples/ngram_lm/requirements.txt rename to examples/ngram_lm/s0/requirements.txt diff --git a/examples/ngram_lm/run.sh b/examples/ngram_lm/s0/run.sh similarity index 100% rename from examples/ngram_lm/run.sh rename to examples/ngram_lm/s0/run.sh