Coder Social home page Coder Social logo

请问如何编译字典 about irime HOT 12 CLOSED

jimmy54 avatar jimmy54 commented on July 17, 2024
请问如何编译字典

from irime.

Comments (12)

bms3-33 avatar bms3-33 commented on July 17, 2024

字典编译是不是就是:在电脑PC用小狼毫,Mac用Squirrel deploy一次,生成的.bin文件。

from irime.

shz2050 avatar shz2050 commented on July 17, 2024

感觉有可能哦,但是需要传输哪些文件呢。我试试

from irime.

bms3-33 avatar bms3-33 commented on July 17, 2024

比如五笔的话有:
wubi86.dict.yaml
wubi86.reverse.bin
wubi86.table.bin
wubi86.schema.yaml.
我是直接把Squirrel里面的配置文件全部上传到irime里,能通用的,(安装的App Store的)
顺便问一下,你是怎么编译成功的呢, 我一直都是出现我提的issue的错误,难倒是要有开发者账号才行吗?谢谢

from irime.

shz2050 avatar shz2050 commented on July 17, 2024

应该不是,你有添加app group么?我编译的时候只出现一个脚本运行问题,注释掉就好。但应该不是你提的issue

from irime.

shz2050 avatar shz2050 commented on July 17, 2024

无法上传哦,显示
Not Found: Failed retrieving contents of "null"
Failed creating folder "UserDate" in "null"
请问该如何操作

from irime.

jimmy54 avatar jimmy54 commented on July 17, 2024

手机内存太小无法编译字典。字典需要在电脑上编译。

第一次安装,需要打下一下iRime。让生成配置文件。
@shz2050

from irime.

shz2050 avatar shz2050 commented on July 17, 2024

请问需要通过什么方式编译字典呢?

from irime.

jimmy54 avatar jimmy54 commented on July 17, 2024

@shz2050 电脑装上RIME.安装RIME的字典编译方式编译就行。去看看RIME.IM的教程。

from irime.

bms3-33 avatar bms3-33 commented on July 17, 2024

@shz2050
编译安装 librime
使用rime_deployer --compile x.schema.yaml,(需要有x.dict.yaml和x.schema.yaml两个文件)
这样会生成二进制的字典。
当然如果你的Mac安装了Squirrel输入法,可以直接用路径(/Users/yourName/Library/Rime/)的配置文件。

from irime.

jimmy54 avatar jimmy54 commented on July 17, 2024

@bms3-33 正解

from irime.

bms3-33 avatar bms3-33 commented on July 17, 2024

@shz2050
麻烦请告知注释脚本的哪一行,谢谢

Downloads/iRime-master/iRime/Build/Intermediates/iRime.build/Debug-iphoneos/iRime.build/Script-0C0C7DC41D2CAE2E0026CA4F.sh: line 2: /usr/local/bin/carthage: No such file or directory

brew install carthage
安装carthage后,编译成功。

from irime.

shz2050 avatar shz2050 commented on July 17, 2024

无法上传哦,显示
Not Found: Failed retrieving contents of "null"
Failed creating folder "UserDate" in "null"
请问该如何操作

之前提的这个问题我找到原因了,由于使用你的证书我无法在真机上运行,所以我改成我的证书,同时只更改了Target->iRime/Keyboard->Capabilities->App groups,没有更改NSString+Path里的GROUP_ID,所以在获取[NSString rimeResource]时得到了nil。
从而得到上面这个错误。现在将GROUP_ID修改成新的groupid就ok了。

from irime.

Related Issues (20)

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.