tsroten / hanzidentifier Goto Github PK
View Code? Open in Web Editor NEWPython module that identifies Chinese text as being Simplified or Traditional
License: MIT License
Python module that identifies Chinese text as being Simplified or Traditional
License: MIT License
When I tried to install it on cmd and python it wont work
As reported with DragonMapper, a UnicodeDecodeError
is raised when installing Zhon on Windows using Python 3. The solution is to use io.open()
with the encoding parameter set to 'utf-8'
. That will run on Python 2 and 3.
Although hanzidentifier on pypi was updated to v1.0.2, but still not add v1.0.2 tag and not create a v1.0.2 release on github.
So I'm wondering that could you also update v1.0.2 on github? Thanks.
It might be a useful idea to add Japanese Kanji to detect psuedo-Chinese texts that are popular in Japan.
This Ruby code may be older but it has the same goal... https://github.com/jpatokal/script_detector
Are there any difference between this and that?
Hi, hanzidentifier
identifies it as SIMPLIFIED
.
In [9]: hanzidentifier.identify("着")
Out[9]: 2
However, I think "着" is also a valid Traditional Chinese character, and is commonly used in Hong Kong.
Reference:
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.