lv7777 / ibus-levena Goto Github PK
View Code? Open in Web Editor NEWibus-ime and running with linux
ibus-ime and running with linux
mozc辞書やwindows辞書を相互変換したりする。
1ac961f の動作。
abcd
と押す→preeditに貯まる、enterを押す→commitされてabcdabcd
となる。
その後文字を押すとpreeditが初期化されているのでabcdabcd
がabcdX
となる。
commit時にlevena_engineをアップデートすれば良さそう
なんてことはないマージです。
長時間使われていない単語を切り落としていくための設定
mecabやweb api叩いて閾値とか決定しても良いかも
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$
ibus_component_new_from_file().
kkcみたいなデフォルトの辞書があってそれらは選択するだけで使える。(変更不可)
ただしime内に組み込まれているのではなくてオンラインから取ってくる感じ。とってきた後はローカル辞書となる。
ローカル辞書はgoogle日本語入力の辞書みたいな。(変更可能)
後々ime間の同期を行いたいのでローカル辞書もデフォルト辞書としてうpれるようにしたい?
要素形態解析(wakameとかkuromoji.jsとか)必要か?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.