pinyin

Tutorial for pinyin: Installation and Quick Start

  • What Will I Learn?
    • What the R ‘pinyin’ package can do for you
    • How to Set up the environment which ‘pinyin’ requires.
    • How to use the main functions of ‘pinyin’
  • Requirements
    • Windows/mac/Linux OS
    • R environment
    • R pinyin package
    • RStudio IDE (recommended)
  • Difficulty
    • Basic

Continue reading

[R pinyin: New Features] User customized dictionaries

The pinyin package intended to convert Chinese characters into pinyin. However, more demands were called by users. That was why the features of converting to four-corner codes and five-stroke codes (version 98) were added. After my previous update, the utopian moderator @justyy kindly suggested adding the Five-Stroke-86 as well. I totally agree, and I think there could be more.

Continue reading

[R: New Features on pinyin] Convert Chinese Characters into Sijiao and Wubi codes

What features did I add?

  • Four times faster for converting.
  • At the beginning of the year 2018 I received an issue report by psychelzh about a polyphone error. Now a new pinyin library has been added, which more or less solved the polyphone problem.
  • Convert Chinese characters into Sijiao codes (literally four corner code).
  • and Wubi codes (literally five-stroke).
  • Some minor bugs were fixed.

Continue reading

[Task Request] Heteronym problem

Heteronym is a common lingual phenomenon in the most languages. Wikepedia:

A heteronym (also known as a heterophone) is a word that has a different pronunciation and meaning as another word but the same spelling.

Continue reading