libpinyin provides the algorithms core for intelligent sentence-based Chinese pinyin input methods. ok bentley@, kn@