Replace of Microsoft Pinyin: The full-sentence input of Python and sunpinyin

Source: Internet
Author: User
Because the fully installed Ubuntu already has an OpenOffice background, it is imperative to find a good input method. Previously, Microsoft Pinyin was used in a Windows environment, and there have always been different comments on Microsoft pinyin, the reason is different from that of Microsoft pinyin. Microsoft Pinyin uses the concept of "full sentence input", which includes Google, smart ABC, the input methods launched by a dog and others all belong to the phrase input family. Although the intelligent pinyin that comes with Ubuntu is good as the phrase input method, however, when you get used to the entire sentence input, you will still feel less efficient. Therefore, the following two Pinyin input methods are installed as an alternative.
Python pinyin
Run the terminal (Application> attachment> terminal) and enter the following content:
Tip: You can copy and paste the file ......
Tip 2: After sudo, you are prompted to enter your password.
Install dependency Components
$ Sudo apt-Get install gnustep-make
$ Sudo apt-Get install libgnustep-base-Dev
Sudo apt-Get install libsqlite3-dev
Ontology Installation
$ Sudo apt-Get install python2.5-dev python-gtk2-dev scim-Dev
Python-Enchant
To parse (I hope you have some knowledge of DoS or Unix. It is very difficult to explain this process in three or two sentences, but since you can come here to read this article, it means that you are a good person to explore, otherwise ...... When Ubuntu becomes popular, let the Administrator do this ......)
$./Configure -- prefix =/usr
$ Make
$ Sudo make install
Sunpinyin
The dependent compilation tools include build-essential, libtool, automake, autogen, and Autoconf, which are all installed using the new IDE (system-> Provide management-> new IDE ).
Then check out the source code
Hg clone SSH: // anon@hg.opensolaris.org/Hg/nv-g11n/inputmethod
The source code will be checked in inputmethod/sunpinyin/IME, so you need to enter this directory and enter the following command
./Autogen. Sh -- prefix =/usr -- disable-cle-enable-scim
Then make and sudo make install
Then you need to restart xwindows
Through such a long period of use, let's talk about feelings
Python: The advantage is that the sentence recognition rate is high. It supports both Chinese and English input, and it feels closer to Microsoft pinyin. The disadvantage is that switching between Chinese and English is not easy. The Chinese status shift can be changed to English, but it often does not return.
Sunpinyin: the response is fast, and the entire sentence recognition rate is good. The biggest problem is that it does not support mixed Chinese and English input, and even worse, if you enter a large sentence of Chinese, you will press shift, then the Chinese sentence disappears.
I am getting used to using sunpinyin more often.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.