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

tn 新增 億~千億 #223

Open
bensonbs opened this issue Jun 4, 2024 · 0 comments
Open

tn 新增 億~千億 #223

bensonbs opened this issue Jun 4, 2024 · 0 comments

Comments

@bensonbs
Copy link

bensonbs commented Jun 4, 2024

tn/chinese/rules/cardinal.py

        # 10001111, 1001111, 101111, 11111, 10111, 10011, 10001, 10000
        ten_thousand = ((thousand | hundred | ten | digit) + insert('萬') +
                        (thousand
                         | (zero + rmpunct + hundred)
                         | (rmzero + rmpunct + zero + tens)
                         | (rmzero + rmpunct + rmzero + zero + digit)
                         | rmzero**4))

        # add hundred_million
        hundred_million = 
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

No branches or pull requests

1 participant