Calculates percentage of Chinese or Hanyu Pinyin word units that represent pinyin phonemes (without or without tones). Requires Java 7.