Skip to content

A simple Hànzì to Hànyǔ Pīnyīn conversion library, a part of Project Roca

License

Notifications You must be signed in to change notification settings

m13253/RocaPinyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RocaPinyin

A simple Hànzì (Chinese ideographs) to Hànyǔ Pīnyīn (Chinese reading notations) conversion library, a part of the Rocaloid project.

This library does not support tones or multi-pronunciation characters, since Rocaloid does not need them. You can modify this program to suit your needs.

Build

Download Unihan.zip and execute make.

You will get an executable named rocapinyin and a static library named librocapinyin.a.

GCC option -O3 -flto -fuse-linker-plugin is specified and should also be set when linking against librocapinyin.a

For Windows users with buggy Unicode I/O support, use main-win.cpp instead main.cpp and link against libWinTF8.

License

This program is licensed under GNU Lesser General Public License 3.0 or newer version.

About

A simple Hànzì to Hànyǔ Pīnyīn conversion library, a part of Project Roca

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published