From 537aff9704c5c61e8f5bc334486599996279fa82 Mon Sep 17 00:00:00 2001 From: Yang Zhou Date: Wed, 25 May 2022 20:54:11 +0800 Subject: [PATCH 1/2] refactor example dir & add aishell build TLG --- speechx/examples/dev/CMakeLists.txt | 3 - speechx/examples/dev/glog/CMakeLists.txt | 8 - speechx/examples/dev/glog/README.md | 25 --- .../dev/glog/glog_logtostderr_test.cc | 25 --- speechx/examples/dev/glog/glog_test.cc | 23 --- speechx/examples/dev/glog/path.sh | 15 -- speechx/examples/dev/glog/run.sh | 22 --- speechx/examples/ds2_ol/aishell/README.md | 37 ++++ .../aishell}/local/aishell_train_lms.sh | 0 .../aishell}/local/text_to_lexicon.py | 0 speechx/examples/ds2_ol/aishell/path.sh | 12 +- .../examples/ds2_ol/aishell/run_build_tlg.sh | 141 +++++++++++++ speechx/examples/ds2_ol/aishell/run_fbank.sh | 1 - speechx/examples/ngram/.gitignore | 2 - speechx/examples/ngram/en/README.md | 0 speechx/examples/ngram/zh/README.md | 101 ---------- speechx/examples/ngram/zh/local/split_data.sh | 30 --- speechx/examples/ngram/zh/path.sh | 12 -- speechx/examples/ngram/zh/run.sh | 68 ------- speechx/examples/ngram/zh/utils | 1 - speechx/examples/wfst/.gitignore | 1 - speechx/examples/wfst/README.md | 186 ------------------ speechx/examples/wfst/path.sh | 19 -- speechx/examples/wfst/run.sh | 29 --- speechx/examples/wfst/utils | 1 - 25 files changed, 189 insertions(+), 573 deletions(-) delete mode 100644 speechx/examples/dev/CMakeLists.txt delete mode 100644 speechx/examples/dev/glog/CMakeLists.txt delete mode 100644 speechx/examples/dev/glog/README.md delete mode 100644 speechx/examples/dev/glog/glog_logtostderr_test.cc delete mode 100644 speechx/examples/dev/glog/glog_test.cc delete mode 100644 speechx/examples/dev/glog/path.sh delete mode 100755 speechx/examples/dev/glog/run.sh rename speechx/examples/{ngram/zh => ds2_ol/aishell}/local/aishell_train_lms.sh (100%) rename speechx/examples/{ngram/zh => ds2_ol/aishell}/local/text_to_lexicon.py (100%) create mode 100755 speechx/examples/ds2_ol/aishell/run_build_tlg.sh delete mode 100644 speechx/examples/ngram/.gitignore delete mode 100644 speechx/examples/ngram/en/README.md delete mode 100644 speechx/examples/ngram/zh/README.md delete mode 100755 speechx/examples/ngram/zh/local/split_data.sh delete mode 100644 speechx/examples/ngram/zh/path.sh delete mode 100755 speechx/examples/ngram/zh/run.sh delete mode 120000 speechx/examples/ngram/zh/utils delete mode 100644 speechx/examples/wfst/.gitignore delete mode 100644 speechx/examples/wfst/README.md delete mode 100644 speechx/examples/wfst/path.sh delete mode 100755 speechx/examples/wfst/run.sh delete mode 120000 speechx/examples/wfst/utils diff --git a/speechx/examples/dev/CMakeLists.txt b/speechx/examples/dev/CMakeLists.txt deleted file mode 100644 index c8445fb8..00000000 --- a/speechx/examples/dev/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -cmake_minimum_required(VERSION 3.14 FATAL_ERROR) - -add_subdirectory(glog) diff --git a/speechx/examples/dev/glog/CMakeLists.txt b/speechx/examples/dev/glog/CMakeLists.txt deleted file mode 100644 index b4b0e635..00000000 --- a/speechx/examples/dev/glog/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -cmake_minimum_required(VERSION 3.14 FATAL_ERROR) - -add_executable(glog_test ${CMAKE_CURRENT_SOURCE_DIR}/glog_test.cc) -target_link_libraries(glog_test glog) - - -add_executable(glog_logtostderr_test ${CMAKE_CURRENT_SOURCE_DIR}/glog_logtostderr_test.cc) -target_link_libraries(glog_logtostderr_test glog) \ No newline at end of file diff --git a/speechx/examples/dev/glog/README.md b/speechx/examples/dev/glog/README.md deleted file mode 100644 index 996e192e..00000000 --- a/speechx/examples/dev/glog/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# [GLOG](https://rpg.ifi.uzh.ch/docs/glog.html) - -Unless otherwise specified, glog writes to the filename `/tmp/...log...