From Fedora Project Wiki



The feature covers the integration for ibus-pinyin of a new libpinyin backend to provide intelligent sentence-based Chinese pinyin input.


  • Name: Peng Wu
  • Email:

Current status

  • Targeted release: Fedora 17
  • Last updated: 2012-02-16
  • Percentage of completion: 100%

Detailed Description

User requirements:

  • More Intelligent Pinyin Input Method
    • Intelligent Pinyin Input Methods can provide predictive sentence completion based on two or three characters of user input.

Benefit to Fedora

  • Enhance the experience of Fedora for pinyin users by bringing it to a modern standard.
  • Currently ibus-pinyin needs more user interactions to input a sentence than competitor input methods.


  • Make ibus-pinyin easier to use by providing more intelligent predictive input of Chinese sentences.
  • Use libpinyin as a back-end for ibus-pinyin. (done)
  • libpinyin Large Web Corpus Training. (done)
  • Rewrite full pinyin/double pinyin/chewing parsers. (done)
  • In Fedora 17 the remaining tasks are:
    • Improve the libpinyin self-learning code; (in progress)

How To Test

  • Check whether "Intelligent Pinyin" is listed in ibus-setup dialog and default ime list.
  • Try to add "Intelligent Pinyin" to ime list, begin to use the new pinyin ime.
  • Get some testing sentences, try to input it under both "Pinyin" and "Intelligent Pinyin", to see whether the "Intelligent Pinyin" can reduce the number of keyboard press.

User Experience

  • With the libpinyin back end, Chinese users can speed up the pinyin input speed by pressing less keys.


  • Need to modify ibus-pinyin code to integrate ibus-pinyin with libpinyin, and upstream accept the patch.

Contingency Plan

libpinyin is already in testing currently in F16 updates-testing but in worst case we could revert to current ibus-pinyin without libpinyin.


Release Notes

ibus-pinyin with new libpinyin backend provides a more intelligent pinyin input method and speeds up the user input of Chinese characters.

Comments and Discussion