Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cadinal): 对连续四个digit进行转换 #134

Merged
merged 3 commits into from
Nov 6, 2023
Merged

Conversation

xingchensong
Copy link
Member

@xingchensong xingchensong commented Nov 6, 2023

fix #133 and #132

image

@xingchensong xingchensong linked an issue Nov 6, 2023 that may be closed by this pull request
@@ -1,4 +1,4 @@
flake8
importlib_resources
pynini
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2023/11/06 默认安装pynini==2.1.5.post1, 安装会出错,所以指定版本:

gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/opt/hostedtoolcache/Python/3.9.12/x64/include/python3.9 -c extensions/_pywrapfst.cpp -o build/temp.linux-x86_64-cpython-39/extensions/_pywrapfst.o -std=c++17 -Wno-register -Wno-deprecated-declarations -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char
      extensions/_pywrapfst.cpp:813:10: fatal error: fst/util.h: No such file or directory
        813 | #include <fst/util.h>
            |          ^~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1

@xingchensong xingchensong merged commit 6d42228 into master Nov 6, 2023
1 check passed
@xingchensong xingchensong deleted the xcsong-fix branch November 6, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

badcase咨询-连续四个数字转换失败 bad case, 幺三二六二号 -> 1326~2号
1 participant