hanyupinyin
Convert Chinese Characters into Hanyu Pinyin
Convert Chinese characters into Hanyu Pinyin (the official romanization system for Standard Chinese) with support for tones, toneless output, initials, URL slugs, and valid R variable names. The package was inspired by the now-orphaned CRAN package 'pinyin' (archived in April 2026 after the maintainer became unreachable). 'hanyupinyin' is a ground-up rewrite using the authoritative Unicode Unihan database, a vectorized engine, and modern R practices. Dictionary data are derived from the Unicode Unihan Database (Unicode Consortium, 2025) <https://www.unicode.org/reports/tr38/>.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.1 |
rolling linux/jammy R-4.5 | hanyupinyin_0.1.1.tar.gz |
1.0 MiB |
0.1.1 |
rolling linux/noble R-4.5 | hanyupinyin_0.1.1.tar.gz |
1.0 MiB |
0.1.1 |
rolling source/ R- | hanyupinyin_0.1.1.tar.gz |
1001.5 KiB |
0.1.1 |
latest linux/jammy R-4.5 | hanyupinyin_0.1.1.tar.gz |
1.0 MiB |
0.1.1 |
latest linux/noble R-4.5 | hanyupinyin_0.1.1.tar.gz |
1.0 MiB |
0.1.1 |
latest source/ R- | hanyupinyin_0.1.1.tar.gz |
1001.5 KiB |
0.1.1 |
2026-04-26 source/ R- | hanyupinyin_0.1.1.tar.gz |
1001.5 KiB |
0.1.1 |
2026-04-23 source/ R- | hanyupinyin_0.1.1.tar.gz |
1001.5 KiB |