Hi, welcome to my Github pages.
magiclen / chinese-number Goto Github PK
View Code? Open in Web Editor NEWConvert primitive numbers to Chinese numbers, or parse Chinese numbers to primitive numbers.
License: MIT License
Convert primitive numbers to Chinese numbers, or parse Chinese numbers to primitive numbers.
License: MIT License
有两个确定的问题:
兩千
可以得到正确的结果,对应的一个简体 两千
会出现解析错误廿
表示 20,在农历日历表示 20 时常用,直接解析会出现解析错误还有一个不确定的问题:
口语中常用 三万五
表示 三万五千
即 3_5000
,解析结果为 30005
我不确定这个用例是否有歧义
其他的类似 两千六
表示 2600
、 一百二
表示 120
Version 0.7.0, corresponding to commit c02aed7, introduced chinese-numerals
as a dependency, which is licensed under the AGPL. It's a copyleft license not compatible with the MIT license of this project.
It looks like the dependency isn't actually used. In my (non-expert) understanding, it may be possible to simply remove the dependency from Cargo.toml
. However, I'm not sure whether it is actually used, if code was pulled from that project, or if license obligations transfer regardless of how the crate is used.
I discovered this through cargo-deny
. It might be helpful to set it up for this project to avoid this happening in the future.
简体中文环境下,一般使用“叁”而非“参”作为“三”的大写。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.