Skip to content

Commit 869f426

Browse files
authored
[speechx]Speechx directory refactor (#2746)
* refactor directory
1 parent 7804c8e commit 869f426

File tree

100 files changed

+1821
-53
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+1821
-53
lines changed

speechx/requirement.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

speechx/speechx/CMakeLists.txt

Lines changed: 6 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,11 @@ cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
22

33
project(speechx LANGUAGES CXX)
44

5-
include_directories(
6-
${CMAKE_CURRENT_SOURCE_DIR}
7-
${CMAKE_CURRENT_SOURCE_DIR}/kaldi
8-
)
9-
add_subdirectory(kaldi)
10-
11-
include_directories(
12-
${CMAKE_CURRENT_SOURCE_DIR}
13-
${CMAKE_CURRENT_SOURCE_DIR}/utils
14-
)
15-
add_subdirectory(utils)
16-
17-
include_directories(
18-
${CMAKE_CURRENT_SOURCE_DIR}
19-
${CMAKE_CURRENT_SOURCE_DIR}/frontend
20-
)
21-
add_subdirectory(frontend)
22-
23-
include_directories(
24-
${CMAKE_CURRENT_SOURCE_DIR}
25-
${CMAKE_CURRENT_SOURCE_DIR}/nnet
26-
)
27-
add_subdirectory(nnet)
5+
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
6+
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/kaldi)
7+
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/common)
288

29-
include_directories(
30-
${CMAKE_CURRENT_SOURCE_DIR}
31-
${CMAKE_CURRENT_SOURCE_DIR}/decoder
32-
)
33-
add_subdirectory(decoder)
34-
35-
include_directories(
36-
${CMAKE_CURRENT_SOURCE_DIR}
37-
${CMAKE_CURRENT_SOURCE_DIR}/recognizer
38-
)
39-
add_subdirectory(recognizer)
40-
41-
include_directories(
42-
${CMAKE_CURRENT_SOURCE_DIR}
43-
${CMAKE_CURRENT_SOURCE_DIR}/protocol
44-
)
45-
add_subdirectory(protocol)
46-
47-
include_directories(
48-
${CMAKE_CURRENT_SOURCE_DIR}
49-
${CMAKE_CURRENT_SOURCE_DIR}/codelab
50-
)
9+
add_subdirectory(asr)
10+
add_subdirectory(common)
11+
add_subdirectory(kaldi)
5112
add_subdirectory(codelab)

speechx/speechx/asr/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
2+
3+
project(ASR LANGUAGES CXX)
4+
5+
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
6+
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/server)
7+
8+
add_subdirectory(decoder)
9+
add_subdirectory(recognizer)
10+
add_subdirectory(nnet)
11+
add_subdirectory(server)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ThreadPool/
2+
build/
3+
dist/
4+
kenlm/
5+
openfst-1.6.3/
6+
openfst-1.6.3.tar.gz
7+
swig_decoders.egg-info/
8+
decoders_wrap.cxx
9+
swig_decoders.py

0 commit comments

Comments
 (0)