Là một dự án mã nguồn mở, yangyangwithgnu/hanz2piny đã đạt 157 sao trên GitHub, ngôn ngữ C++. hanz2piny is a tool that easy convert chinese hanzi to mandarin pinyin. It fast, no-DB-file, and supports polyphone.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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
yangyangwithgnu/hanz2piny có 157 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/yangyangwithgnu/hanz2piny. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
yangyangwithgnu/hanz2piny có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho yangyangwithgnu/hanz2piny. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
yangyangwithgnu/hanz2piny còn đang phát triển không?
Commit gần nhất trên yangyangwithgnu/hanz2piny là 8.2 năm trước (theo timestamp GitHub). Repo có 36 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
yangyangwithgnu/hanz2piny là gì?
yangyangwithgnu/hanz2piny (yangyangwithgnu/hanz2piny) là dự án C++ trên GitHub. Theo mô tả gốc: hanz2piny is a tool that easy convert chinese hanzi to mandarin pinyin. It fast, no-DB-file, and supports polyphone.
yangyangwithgnu/hanz2piny viết bằng ngôn ngữ gì?
yangyangwithgnu/hanz2piny chủ yếu viết bằng C++. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc hanz2piny có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về hanz2piny.