Code Monkey home page Code Monkey logo

alphaim's Introduction

关于 “阿尔法输入法”
==================
版本号: 1.0
作者:   李力琼 (joni lee) <[email protected]>

它是一款快速智能的输入法。不收集用户数据,也不依赖网络词典,不需要更新词库,
更加不会弹广告,资源消耗低, 是众多输入法中的一个简洁版, 同win10自带的输入法比较类似。

功能特性:
  . 自动学习生成用户词组。
      - 系统只提供一个基础词库,主要还是记录用户的词组。只会记录汉字,字母和数字不会被记录。
      - 记录用户整句输入的词组。
      - 逐个输入汉字的词组,需要重复出现2次以上,才会被认定为词组。
    只要用户坚持整个词组输入,时间长了以后,会形成自己的词库,后续输入会越来越快。

  . 使用频度排序。  

  . 支持模糊拼音, 只需要输入词组部分拼音字母即可。


快捷健
=====
  - 打开关闭输入法
      . Ctr  + SPACE
      . Shift + SPACE

  - 中英文切换
      . 左(Ctr + Shift)

  - 中英文符号切换
      . 右(Ctr + Shift)

  - 提交
      . SPACE
      . Enter

  - 取消
      . Esc
      . Ctr + C

  - 向前翻页
      . Ctr + F
      . PgUp
      . 左方向键
	  . 上方向键
      . '-'键

  - 向后翻页
      . Ctr + J
      . PgDn
      . 右方向键
	  . 下方向键
      . '=' 键

许可证
=======
AlphaIM在"GNU GENERAL PUBLIC LICENSE, version 3 (GPLv3)" 许可证下发布.
你可以通过 gpl-2.0.txt 文件, 或者 网页 "http://www.gnu.org/copyleft/gpl.html" 了解相关的许可证信息。


安装需要的开发包
==============

"AlphaIM"依赖如下开发包:
  1) boost: "http://www.boost.org/"
  2) x11, gtk.

ubuntu14.04:
    sudo apt-get install libboost1.55-dev libboost-filesystem1.55-dev 
             libx11-dev  libgtk-3-dev  libsystemd-dev
sudo apt-get install libqt5qml5 libqt5quick5  qtdeclarative5-dev qtbase5-private-dev 
libappindicator3-dev


如何编译
=======

linux,unix
----------
$ ./configure  
$ ./configure --help
  can give you some useful information, if you get trouble and want to set some 
  custom configurations to fix it.

$ make 

$ make install

windows
-------
暂不支持window 版本。


X11系统配置
==========
. 卸载/删除已经安装的输入法。 (可选)
   sudo im-config  , 选择 auto/xim
    ~/.xinputrc  run_im auto

. 打开或创建 ~/.xprofile
. 加入下列内容:
  export GTK_IM_MODULE=AlphaIM
  export QT_IM_MODULE=AlphaIM
  export QT_IM_MODULE=AlphaIM
  export XMODIFIERS=@im=AlphaIM
  eval `dbus-launch --sh-syntax --exit-with-session`
  AlphaIM

. AlphaIM.desktop 拷贝到 .config/autostart
. libalphaimplatforminputcontextplugin.so 拷贝到 qt 的插件目录/...../qt5/plugins/platforminputcontexts/

软件兼容性
========
目前这个输入法支持xim和QtIM协议, 我测试了GTK/QT下的一些常用软件:
   kate, gedit, thunderbird, firefox, chrome, libreoffice,  emacs, ....
都可以支持,如果碰到不能支持的软件, 可以使用kate/gedit 来临时替代输入。


如何提交Bug, 贡献代码, 提出意见,或者取得联系
========================================
我的email是: [email protected].
任何同软件相关的问题,你都可以联系我。

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.