From 40095d3026bef08904acf831d69fff2a7ed72d8e Mon Sep 17 00:00:00 2001 From: YangZhou Date: Wed, 14 Dec 2022 15:44:03 +0800 Subject: [PATCH 1/2] fix openfst download error --- speechx/cmake/openfst.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/speechx/cmake/openfst.cmake b/speechx/cmake/openfst.cmake index 9acf530a195..bb4512fc7c4 100644 --- a/speechx/cmake/openfst.cmake +++ b/speechx/cmake/openfst.cmake @@ -4,7 +4,7 @@ set(openfst_SOURCE_DIR ${fc_patch}/openfst-src) set(openfst_BINARY_DIR ${fc_patch}/openfst-build) ExternalProject_Add(openfst - URL https://github.com/mjansche/openfst/archive/refs/tags/1.7.2.zip + URL https://paddleaudio.bj.bcebos.com/build/openfst_1.7.2.zip URL_HASH SHA256=ffc56931025579a8af3515741c0f3b0fc3a854c023421472c07ca0c6389c75e6 PREFIX ${openfst_PREFIX_DIR} SOURCE_DIR ${openfst_SOURCE_DIR} @@ -17,4 +17,4 @@ ExternalProject_Add(openfst BUILD_COMMAND make -j 4 ) link_directories(${openfst_PREFIX_DIR}/lib) -include_directories(${openfst_PREFIX_DIR}/include) \ No newline at end of file +include_directories(${openfst_PREFIX_DIR}/include) From f880229c25d04b2c75021a14f55f6a50cc4a657b Mon Sep 17 00:00:00 2001 From: YangZhou Date: Wed, 14 Dec 2022 15:51:03 +0800 Subject: [PATCH 2/2] add acknowledgments of openfst --- speechx/cmake/openfst.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/speechx/cmake/openfst.cmake b/speechx/cmake/openfst.cmake index bb4512fc7c4..07c33a74794 100644 --- a/speechx/cmake/openfst.cmake +++ b/speechx/cmake/openfst.cmake @@ -3,6 +3,13 @@ set(openfst_PREFIX_DIR ${fc_patch}/openfst) set(openfst_SOURCE_DIR ${fc_patch}/openfst-src) set(openfst_BINARY_DIR ${fc_patch}/openfst-build) +# openfst Acknowledgments: +#Cyril Allauzen, Michael Riley, Johan Schalkwyk, Wojciech Skut and Mehryar Mohri, +#"OpenFst: A General and Efficient Weighted Finite-State Transducer Library", +#Proceedings of the Ninth International Conference on Implementation and +#Application of Automata, (CIAA 2007), volume 4783 of Lecture Notes in +#Computer Science, pages 11-23. Springer, 2007. http://www.openfst.org. + ExternalProject_Add(openfst URL https://paddleaudio.bj.bcebos.com/build/openfst_1.7.2.zip URL_HASH SHA256=ffc56931025579a8af3515741c0f3b0fc3a854c023421472c07ca0c6389c75e6