OUTPUT
${CMAKE_SOURCE_DIR}/data/gb_char.table
${CMAKE_SOURCE_DIR}/data/gbk_char.table
- ${CMAKE_SOURCE_DIR}/data/interpolation.text
+ ${CMAKE_SOURCE_DIR}/data/interpolation2.text
COMMENT
"Downloading textual model data..."
COMMAND
- wget https://github.com/downloads/libpinyin/libpinyin/model.text.tar.gz
+ wget https://github.com/downloads/libpinyin/libpinyin/model2.text.tar.gz
COMMAND
- tar xvf model.text.tar.gz -C ${CMAKE_SOURCE_DIR}/data
+ tar xvf model2.text.tar.gz -C ${CMAKE_SOURCE_DIR}/data
)
add_custom_command(
COMMENT
"Building binary bigram data..."
COMMAND
- ${import_interpolation_BIN} < ${CMAKE_SOURCE_DIR}/data/interpolation.text
+ ${import_interpolation_BIN} < ${CMAKE_SOURCE_DIR}/data/interpolation2.text
COMMAND
${gen_unigram_BIN}
DEPENDS
import_interpolation
- ${CMAKE_SOURCE_DIR}/data/interpolation.text
+ ${CMAKE_SOURCE_DIR}/data/interpolation2.text
)
install(