Coder Social home page Coder Social logo

irime's Introduction

iRime輸入法         注:禁止代码原封不动打包上传到AppStore

===== 基於著名的Rime輸入法框架, 旨在保護漢語各地方言, 音碼形碼通用輸入法平臺。

主要開發者和代碼貢獻者:

iOS平臺RIME框架底层庫:

第三方庫/3rd Party Library

鳴謝/Credits

  • 圖文教程:xiaoqun2016
  • Issues貼吧、QQ羣中反饋意見的網友
  • 依賴的第三方庫等開源項目

License

The GNU General Public License v3.0 (GPL v3)

Copyright (C) 2014 Stackia

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

irime's People

Contributors

jimmy8854 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

irime's Issues

简繁转换之后没有去重

版本号:1.4.0

以明月拼音为例,不做繁转简时:

img_0245

设置了繁转简,「吃饭」、「吃」会出现两次:

img_0235

类似的例子还有:

  • li:两个「里」
  • mian:两个「面」
  • fa:两个「发」
  • gan:两个「干」
  • chu:两个「出」

其实.schema.yaml里配置了简化后去重,不知道为什么没生效:

engine:
  filters:
    - simplifier
    - uniquifier

简体模式下输入框没有简化

版本号:1.4.0

在「繁体到简体」模式下,候选字和上屏字都是简体,但是输入框里的字仍是繁体。可能会使用户感到困惑。

img_0341

版本 1.4.2 在选字方面有严重问题

7月10日发布的 1.4.2 版在选字造词方面有严重的 regression,导致这个功能几乎不能用。

以全拼为例。打一个词库中没有的词,比如「微信」。键入「weixin」,先选择第一个字「微」。

wechatimg1

候选栏显示「微xin」,这时候想选择第二个字。但候选项仍然显示「weixin」和「wei」的匹配项而不是「xin」。

wechatimg2

往下翻几页,终于找到「信」字,点击该字,并不能成功选到候选栏中。

wechatimg3

Xcode 8 编译代码一直报错

Xcode Version 8.3.3 (8E3004b)

错误信息:
ld: framework not found boost clang: error: linker command failed with exit code 1 (use -v to see invocation)

单独修改 default.custom.yaml 不生效

上传了下列文件:

xxx.schema.yaml
xxx.table.bin
xxx.reverse.bin
xxx.prism.bin

并且在default.custom.yaml中添加了xxx这一项,结果是能出现在方案列表中,但打字时会变成其他方案。

试了一下,还要在default.yaml中也添加xxx才能生效。

这似乎违背了Rime的设计,default.yaml不应被用户修改,default.custom.yaml应该能覆盖前者。

iOS 原生布局

发现 iRime 的键盘布局是将退格键放在下面,与 iOS 的原生布局不同(原生是在上面)。希望界面能和原生统一,不至于产生割裂感。

建议:用于实体键盘的写字板APP

iOS平台一旦插上实体键盘,第三方输入法全都不能用了,不管怎么切换其实用的都是系统内建输入法,而内建的中文输入法是没法用快捷键翻页的,必须用方向键展开选字窗口,再用方向键选字。对于触屏操作来说还算好,对于实体键盘而言这种选字根本是噩梦。华语圈不少人买iPad想开蓝牙键盘用来办公写东西,但最后全都白搭。原本在苹果开放第三方输入法之前搜狗是有自己的写字板APP的,但之后就把写字板下了架,现在似乎唯一能用的带中文输入法的写字板APP只剩一个“FIT™ 写字板 - 极速个人记事工具”,这个APP从2011年至今没有更新过,只能用它自己的拼音输入法,bug不少(输入法设置界面进去就跳出,横屏界面混乱),云服务全挂,写的内容只能复制粘贴出来。
苹果开放第三方输入法不支持实体键盘已经有三年了,可能在相当长的时间里一直不支持下去(毕竟在触屏UI方向上框架设计定型了),一个可定制输入法的写字板APP作为生产力工具,我认为在华语圈是非常有价值的。

候选词右端被挡住部分应换行

版本 1.4.1 把候选词的字号调大后这个问题比较明显。

比如打「shide」,最右端显示「是」。容易让人误以为是单字「是」(然后可以继续选第二个字)。但其实是双字「是的」,被下拉键挡住了一半。

wechatimg27

举这个例子不够典型。但这种情况常常导致误选。

计算项选栏宽度时应减去右边下拉键的宽度,不能完全显示的候选词应该换入下一行。

微軟雙拼無法鍵入「;」

微軟雙拼使用「;」表示韻母「ing」。然而既有軟件在鍵入聲母以後無法鍵入「;」,導致部分漢字輸入困難。

中文键盘上滑输入英文标点

在版本 1.4.8 中,中文键盘有几个字母键上滑输入的是英文标点: ; ( ) " " ? !,希望能改成中文标点:;()“ ” ?!,谢谢。

wechatimg66

Dark Skin?

Is there any dark theme? Android has tons of 'Colors' theme.

编译报错

Undefined symbols for architecture arm64:
"_RimeCandidateListBeginWithIndex", referenced from:
+[RimeWrapper getCandidateListForSession:andIndex:andCount:] in RimeWrapper.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
错误信息如下, xcode9

英文键盘及英文符号键盘bug

在英文键盘及英文符号键盘下按住空格键移动光标结束后,空格会上屏。英文符号键盘最下面一行没有对齐

建議-4

長按刪除鍵可連續刪除已輸入的字碼。

現在的版本祇能逐個逐個字碼刪除,比較不方便。

這也是很實用的功能,特別是當鍵入了一堆字碼而想回去修改某個錯誤字碼的時候。希望能實現!

建議-3

爲「拼音」和「粵拼」輸入法添加9鍵鍵盤。9鍵是國內用戶無比熟悉且實用的鍵盤排列模式,和音碼輸入法尤其搭。很大比例的音碼用戶都渴望能用到9鍵,希望能有!

可以在 irime 的某個輸入方案裏自行加詞嗎?

求問,可以在 irime 的某個輸入方案裏自行加詞嗎?我發現 irime 的粵拼打不出“嬅”這個字,而明月拼音和倉頡均可以。我想用粵拼的時候也能打出這個字,請問要怎麼操作呢?先謝過了!

双拼输入法输入英文的问题

双拼输入法return上屏的不是commit_code而是commit_text。这使得我在中文状态下输入英文时发现打出来的是拼音而非我按的键。
请问有什么办法能直接在中文状态下顺畅地完成英文输入?

建議-1

倉頡和速成鍵盤可顯示中文字根,像是下圖裏的原生鍵盤那樣。相信有不少倉頡速成用戶都習慣看著中文字根而不是英文字母打字,加入該功能可爲眾多用戶提供方便,希望能實現,謝謝!

wechat _20170721104129

建議-2

加入「聯想字詞」功能。比如像下圖原生鍵盤那樣,打了「我」之後,能聯想出「們」之類的字/詞。這個功能是輸入法裏非常常見也很實用的功能,希望能實現!

wechat _20170721104915

打字的时候丢码

比如按q,键盘闪一下,然后q这个码就没了 导致打字经常出错。
机型: iPhone 6s
系统: iOS10.3.3
irime: 1.4.8
五笔输入

幾點建議

1、加入“聯想”功能。比如打個“我”字能顯示“們”等候選字;
2、加入“常用字靠前”功能。就是使用頻率越高的字越靠前;
3、加入“學習”功能。比如輸入一個專有名詞,iRime就能記住它,下次再輸入同樣的字碼就會出現在候選欄裏;
4、加入“9鍵模式”

iRime已經很好用了,如果能加入這些功能的話會更加完美!希望iRime能越來越好!

编译出错

你好,我同步的LibAndResource,把文件夹放入到了iRime里面,编译出现下面的错误
image

怎么配置的呢,教程在哪?

irime 是怎么配置的呢,把电脑rime用户文件夹的文件拷贝入去吗?
我在电脑rime加了很多字,复制到手机好像没用啊

iPad 外接 magic keyboard 出现问题

设备:iPad Pro
系统:11.2.6
输入法版本:当前版本 2.0;小版本 1
问题描述:外接 magic keyboard 输入时,调用的是系统的默认中文输入法,而不是 iRime

无法记忆用户已输入的词汇

在使用过程中发现无法记忆用户已输入的词汇,请问只有我这里是这样么?
我注意到在控制台会显示deploy failed,是否跟这个有关系呢?

请问如何编译字典

我已经完成了iRime的编译,将其安装在手机上。但是发现现在还无法实现输入,提示需要将字典编译上传手机,请问有相关的教程可以参考么?

在搜索界面变换底色

如下图所示,在下拉搜索界面,系统自带的输入法会将底色变为黑色,而 iRime 的底色仍是白色。

版本号:1.4.8

wechatimg64

wechatimg65

请教一个关于输入法切换到irime时,入口函数的问题

您好:
输入法切换到irime时,入口函数是哪个呢?我自己新建项目然后新建“custom keyboard extension”,那么输入法的入口函数是KeyboardViewController.swift下的viewDidLoad。但是在irime的KeyboardViewController中没有看到viewDidLoad函数。
能否帮忙指导下,当切换输入法按钮按下后,先触发的是哪个函数,最终才切换到irime的。

请问,pods工程有些什么功能

您好,对于pods工程我有2个疑问,能否帮忙解答:
1、pods工程中的组件是做什么用的?
2、AFWebViewController.m和IASKSpecifierValueController.m两个文件的作用是什么?

感谢

ios xcode rime 编译

您好,我通过xcode编译了一个能在iOS设备上能用的rime的.a库,但是在项目使用librime.a的时候一直报
"std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > boost::locale::conv::to_utf(char const*, char const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, boost::locale::conv::method_type)", referenced from:
rime::CodepointTranslator::Query(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, rime::Segment const&) in liblibrime.a(codepoint_translator.o)
std::__1::__function::__func<rime::CodepointTranslator::Initialize()::$_2, std::__1::allocatorrime::CodepointTranslator::Initialize()::$_2, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > (std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)>::operator()(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in liblibrime.a(codepoint_translator.o)
"std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > boost::locale::conv::from_utf(char const*, char const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, boost::locale::conv::method_type)", referenced from:
rime::CharsetFilter::FilterText(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in liblibrime.a(charset_filter.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已经在项目中添加了libc++这个库了,请问您是怎么编译?

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.