Difference between revisions of "Cloudpinyin"

From Fcitx
Jump to navigation Jump to search
(Created page with "{{infobox module |name = cloudpinyin |version = 0.2.0 |dependency = curl |programming language = C |license = GPLv2 |t...")
 
Line 1: Line 1:
 +
<translate>
 
{{infobox module
 
{{infobox module
 
|name                  = cloudpinyin
 
|name                  = cloudpinyin
|version              = 0.2.0
+
|version              = 0.2.1
 
|dependency            = curl
 
|dependency            = curl
 
|programming language  = C
 
|programming language  = C
 
|license              = GPLv2
 
|license              = GPLv2
 
|type                  = module
 
|type                  = module
 +
|website              = http://github.com/fcitx/fcitx-cloudpinyin
 
}}
 
}}
  
 
== Intro ==
 
== Intro ==
 
Cloudpinyin is Fcitx addon that will add one candidate word to your pinyin list. It current support four provider, [[wikipedia:Sogou|Sogou]], [[wikipedia:Tencent|QQ]], [[wikipedia:Baidu|Baidu]], [[wikipedia:Google|Google]]. By default the trigger length is 10, you can set it shorter. And it use a memory-based cache to cache recent result.
 
Cloudpinyin is Fcitx addon that will add one candidate word to your pinyin list. It current support four provider, [[wikipedia:Sogou|Sogou]], [[wikipedia:Tencent|QQ]], [[wikipedia:Baidu|Baidu]], [[wikipedia:Google|Google]]. By default the trigger length is 10, you can set it shorter. And it use a memory-based cache to cache recent result.
 +
 +
== Usage ==
 +
When you are using any pinyin related input method, when your pinyin string length is over the threshold, it will send a request the provider server and fetch the result back. There will be a place holder "..." when the word is loading.
 +
 +
If the word is already appeared in the candidate list, it will be removed.
 +
 +
== Trick ==
 +
=== Set HTTP proxy ===
 +
Simply set
 +
    export http_proxy=http://ip:port
 +
    export https_proxy=http://ip:port
 +
 +
Before Fcitx run.
  
 
== Potential Security Issue ==
 
== Potential Security Issue ==
All providers do not support SSL, and you might not trust the provider, since the data you typed might have some private info. So think about it before use cloudpinyin.
+
In spite of Google, all providers do not support SSL (by the way, you need to update to 0.2.1 to use SSL with Google), and you might not trust the provider, since the data you typed might have some private info. So think about it before use cloudpinyin.
  
 
[[Category:Addon]]
 
[[Category:Addon]]
 +
</translate>

Revision as of 19:22, 10 March 2012

cloudpinyin
Version 0.2.1
Dependency curl
Written In C
License GPLv2
Type module
Website http://github.com/fcitx/fcitx-cloudpinyin

Intro

Cloudpinyin is Fcitx addon that will add one candidate word to your pinyin list. It current support four provider, Sogou, QQ, Baidu, Google. By default the trigger length is 10, you can set it shorter. And it use a memory-based cache to cache recent result.

Usage

When you are using any pinyin related input method, when your pinyin string length is over the threshold, it will send a request the provider server and fetch the result back. There will be a place holder "..." when the word is loading.

If the word is already appeared in the candidate list, it will be removed.

Trick

Set HTTP proxy

Simply set

   export http_proxy=http://ip:port
   export https_proxy=http://ip:port

Before Fcitx run.

Potential Security Issue

In spite of Google, all providers do not support SSL (by the way, you need to update to 0.2.1 to use SSL with Google), and you might not trust the provider, since the data you typed might have some private info. So think about it before use cloudpinyin.