yangyangwithgnu/hanz2piny — an open-source project — sits at 158 GitHub stars. hanz2piny is a tool that easy convert chinese hanzi to mandarin pinyin. It fast, no-DB-file, and supports polyphone.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
hanz2piny is a tool that easy convert chinese hanzi to mandarin pinyin. It fast, no-DB-file, and supports polyphone.
Some limiting condition you should keep in mind. ONE, hanz2piny just handle simplified and traditional chinese hanzi, no japan kanji, no korea hanja, and just output mandarin pinyin, no cantonese pinyin, no taiwanese pinyin; TWO, hanz2piny just handle the little-endian UTF-8 encoding file, no UTF-16 (yes, similar as your unicode), no ASCII.
If you are unix-like user, as follow steps to install hanz2piny:
# 0) make sure the build tools standing by: g++ (C++11 supports), cmake, make
# 1) clone the source code:
git clone https://github.com/yangyangwithgnu/hanz2piny.git
# 2) go into the build dir:
cd hanz2piny/build
# 3) generate make file:
cmake .
# 4) build the bin and install
make && make install
If you are my m$-windows lord, I DO NOT bother you to feel the building hell, so, click the "Download ZIP" button, unzip hanz2piny-master.zip, unzip hanz2piny-master\bin\prebuild_4_win.7z, then the bin-exe file hanz2piny.exe lies there, my honor!
The usage is very simple, total eight command line options, and only one needs you set up:
--help. show this help info, ignore the others options;
--version. show current version, ignore the others options except --help;
--tone. set on that pinyin with tone;
--camel. set on that the first letter of every pinyin in capital, I.E., camel style;
--polyphone. some hanzi have more one pinyin, these ones I.E. polyphone. You can get all option pinyin, set up argument as all; you focus pinyin in name, set up name; you focus pinyin in non-name, set up noname. The default argument is noname;
--replace-unknown. some char that hanz2piny could not handle, you can replace them by set on this option;
--replace-unknown-with. some char that hanz2piny could not handle, you can replace them with string by set up this argument;
--path. set up the file path that chinese hanzi file, make sure the file is exist and the encoding is UTF-8.
# 0) make sure the build tools standing by: g++ (C++11 support), cmake, make
# 1) clone the source code:
git clone https://github.com/yangyangwithgnu/hanz2piny.git
# 2) go into the build dir:
cd hanz2piny/build
# 3) generate make file:
cmake .
# 4) build the bin and install
make && make install
TopGit's last sync did not record any GitHub topics for yangyangwithgnu/hanz2piny. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on yangyangwithgnu/hanz2piny?
The most recent commit recorded on yangyangwithgnu/hanz2piny was 8.5 years ago, based on the GitHub push timestamp. The repository has 37 forks — one of the better signals of community interest.
How many stars does yangyangwithgnu/hanz2piny have?
yangyangwithgnu/hanz2piny has 158 GitHub stars — refresh the page for the live number, or check github.com/yangyangwithgnu/hanz2piny. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is yangyangwithgnu/hanz2piny?
yangyangwithgnu/hanz2piny (yangyangwithgnu/hanz2piny) is a C++ project on GitHub. From the project's own README: hanz2piny is a tool that easy convert chinese hanzi to mandarin pinyin. It fast, no-DB-file, and supports polyphone.
What language is yangyangwithgnu/hanz2piny written in?
yangyangwithgnu/hanz2piny is written primarily in C++. GitHub's language field is based on the largest share of bytes in the default branch.
Read full README in the tab above.
Want a second opinion on hanz2piny?
Ask an AI that can read this page — one click and you get its take on hanz2piny.