Skip to content

Commit

Permalink
fix(wenetruntime): add ITN for python bingding (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingchensong authored Oct 11, 2023
1 parent 35acffc commit 32c9c00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runtime/binding/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ project(wenet VERSION 0.1)

option(TORCH "whether to build with Torch" ON)
option(ONNX "whether to build with ONNX" OFF)
option(ITN "whether to use WeTextProcessing" ON)

set(CXX11_ABI OFF)
set(FST_HAVE_BIN OFF)
set(CMAKE_VERBOSE_MAKEFILE OFF)
Expand Down Expand Up @@ -39,6 +41,10 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/kaldi
)

if(ITN)
include(wetextprocessing)
endif()

add_subdirectory(utils)
add_subdirectory(frontend)
add_subdirectory(post_processor)
Expand Down

0 comments on commit 32c9c00

Please sign in to comment.