Refactor the code (#15)

* code refactoring

* Remove reference files

* Update README and CI

* small fixes

* fix style issues

* add style check for CI

* fix style issues

* remove kaldi-native-io
This commit is contained in:
Fangjun Kuang
2022-10-12 21:35:07 +08:00
committed by GitHub
parent 93539b6f91
commit 8ee02c28b0
26 changed files with 1179 additions and 718 deletions

View File

@@ -1,8 +1,17 @@
include_directories(${CMAKE_SOURCE_DIR})
add_executable(sherpa-onnx main.cpp)
add_executable(sherpa-onnx
decode.cc
rnnt-model.cc
sherpa-onnx.cc
symbol-table.cc
wave-reader.cc
)
target_link_libraries(sherpa-onnx
onnxruntime
kaldi-native-fbank-core
kaldi_native_io_core
)
add_executable(sherpa-show-onnx-info show-onnx-info.cc)
target_link_libraries(sherpa-show-onnx-info onnxruntime)