Git Product home page Git Product logo

ibus-levena's People

Contributors

lv7777 avatar whitehawk-taka avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

whitehawk-taka

ibus-levena's Issues

commitした時の挙動が変

1ac961f の動作。
abcdと押す→preeditに貯まる、enterを押す→commitされてabcdabcdとなる。
その後文字を押すとpreeditが初期化されているのでabcdabcdabcdXとなる。

commit時にlevena_engineをアップデートすれば良さそう

辞書の枝切り

長時間使われていない単語を切り落としていくための設定
mecabやweb api叩いて閾値とか決定しても良いかも

  • mecab
    まず予め辞書をword2vecしておく
    日々の入力されたものを溜めておいて入力してないときにword2vecしていく。
    領域が近いものは閾値を++する。低いものから順に切る

when calling create_propaty_list, ibus-daemon is not responding

cc log.

levena@oss-true:~/levena$ gcc levena.c $(pkg-config ibus-1.0 --cflags --libs)
levena.c: In function ‘ibus_levena_engine_init’:
levena.c:49:37: warning: passing argument 1 of ‘ibus_engine_register_properties’ from incompatible pointer type [-Wincompatible-pointer-types]
     ibus_engine_register_properties(klass,proplist);
                                     ^
In file included from /usr/include/ibus-1.0/ibusfactory.h:46:0,
                 from /usr/include/ibus-1.0/ibus.h:37,
                 from levena.c:4:
/usr/include/ibus-1.0/ibusengine.h:389:14: note: expected ‘IBusEngine * {aka struct _IBusEngine *}’ but argument is of type ‘IBusLevenaEngine * {aka struct tagIBusLevenaEngine *}’
 void         ibus_engine_register_properties
              ^
levena.c: In function ‘ibus_levena_engine_class_init’:
levena.c:56:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 iec->process_key_event=ibus_levena_engine_process_key_event;
                       ^
levena@oss-true:~/levena$ 

デフォルト辞書、ローカル辞書の概念

kkcみたいなデフォルトの辞書があってそれらは選択するだけで使える。(変更不可)
ただしime内に組み込まれているのではなくてオンラインから取ってくる感じ。とってきた後はローカル辞書となる。

ローカル辞書はgoogle日本語入力の辞書みたいな。(変更可能)

後々ime間の同期を行いたいのでローカル辞書もデフォルト辞書としてうpれるようにしたい?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.