返回排行榜

osfans/trime

Kotlinosfans.github.io/trime/

同文安卓輸入法平臺3.x/Android-rime/Rime Input Method Engine for Android

rimejniopenccimechineseandroid
Star 增长趋势
Star
4.5k
Forks
493
周增长
Issues
110
2k4k
2015年5月2019年1月2022年10月2026年7月
README

Trime

Rime IME for Android

build License: GPL v3 GitHub release F-Droid release Latest build

English | 简体中文 | 繁體中文

About

Trime is originally a frontend of open-source Android Traditional Chinese IME, based on RIME input method framework and written in Java/Kotlin with JNI. It is designed to protect the native language of various local dialects of Chinese and is a universal shape-based and phonetic-based input method platform.

Documentation

Download

History

TRIME is the abbreviation of Tongwen RIME or ThaeRv Input Method.

From the beginning, TRIME was written for TaeRv Pinyin, and named TaeRv Input Method (泰如输入法).

Then, we created an input method platform with some code tables, such as Wu dialect (吴语). We renamed it to Chinese Character Dialect Input Method (汉字方言输入法).

Later, it supports Wubi and Liangbi and other shape-based input method, we branded it Tongwen Input Method Platform 2.0 (同文输入法平台 2.0), which implies that the phonetic-based and shape-based input method on one platform, while dialects and Mandrain share one kind of characters.

Benefit from the librime project by JNI, we are now in version 3.0 of TRIME aka Tongwen Input Method (同文输入法).

Your are now welcome to contribution ~ !

Getting Started for developer

Prepare

Requirements:

  • Android SDK and Android NDK

    • If you are new to Android development, please install Android Studio.
  • JDK (OpenJDK) 17

  • Python 3 (required by OpenCC to generate dictionary text files)

Prerequisites for Windows

Symbolic links will be created according to current build configurations, developers need:

  • Enable Developer Mode so that symlinks can be created without administrator privilege.

  • Enable symlink support for git:

    git config --global core.symlinks true
    

If you cannot or wouldn't like to enable anything, it doesn't matter. Copying will be used instead when error on creating symbolic links.

Build

1. Clone this project and fetch all submodules:

git clone git@github.com:osfans/trime.git
git submodule update --init --recursive
# use partial clone to save time
git submodule update --init --recursive --filter=blob:none

2. Debug version without signature:

# On Linux or macOS
make debug

# On Windows
.\gradlew assembleDebug

3. Release version with signture:

Create keystore.properties file which contains following contents for signing information:

storePassword=myStorePassword
keyPassword=mykeyPassword
keyAlias=myKeyAlias
storeFile=myStoreFileLocation

Then, you may run:

# On Linux or macOS
make release

# On Windows
.\gradlew assembleRelease

Troubleshooting

Target "boost_log_setup" links to target "Boost::coroutine" but the target was not found.

Run make clean on Linux or macOS, or run .\gradlew clean on Windows.

Other issues:

  1. Try make clean
  2. Make sure your repo is up-to-date. If one or more submodules are modified, also make sure they are compatible with the current version.
  3. If the problem still exists(very unlikely), try to make a new clone.
  4. Check if this is there is an issue/PR related to your problem. If yes, try their solutions.
  5. If none of them works, you may make an issue to ask for help.(optional)

Acknowledgments

Third Party Libraries

相关仓库
iDvel/rime-ice

Rime 配置:雾凇拼音 | 长期维护的简体词库

LuaGNU General Public License v3.0rimerime-schema
dvel.me/posts/rime-ice/
18.4k1.1k
Mintimate/oh-my-rime

The Simple Config Template Of Rime By Mintimate.

LuaGNU General Public License v3.0rimesquirrel
mintimate.cc
4.8k317
amzxyz/rime-wanxiang

「万象拼音」:把算法留在幕后,把纯粹还给指尖,用更优质的数据,接管你的候选。Q群:11033572 / 11631066

LuaCreative Commons Attribution 4.0 Internationaldictsrime
amzxyz.github.io/rime-wanxiang/
4.2k153
gurecn/YuyanIme

语燕输入法-一款基于Rime定制开发的九键、全拼、双拼、手写、火星文等方案、支持悬浮、单手、数字行等键盘模式的中文输入法

KotlinBSD 3-Clause "New" or "Revised" Licensedouble-pinyinime
3.5k197
fkxxyz/rime-cloverpinyin

🍀️四叶草拼音输入方案,做最好用的基于rime开源的简体拼音输入方案!

PythonPyPIGNU Lesser General Public License v3.0rimepinyin
fkxxyz.com/d/cloverpinyin/
2k135
Mark24Code/rime-auto-deploy

Rime输入法安装脚本,让一切更轻松。Make using Rime easy.

RubyRubyGemsMIT Licenserimerime-config
1.9k100
amzxyz/RIME-LMDG

简繁扩展词库/声调编码/最全声调标注工具链/万象更新工具链/Rime语法模型:LMDG - Language, Model, Dictionary, Grammar。没错这里是万象拼音的“罗马帝国”!

PythonPyPICreative Commons Attribution 4.0 Internationaldictionarygrammar
amzxyz.github.io/rime-wanxiang/
1.8k40
KyleBing/rime-wubi86-jidian

86五笔极点码表 for 鼠须管(macOS)、小狼毫(Windows)、中州韵(Ubuntu) 、仓(iOS)、同文(Android)五笔输入方案,五笔输入法,Rime 方案。Chinese wubi input method schema

LuaApache License 2.0wubiinput
1.6k317
wongdean/rime-settings

接近原生的鼠须管 Rime 配置

Luarime
1.5k150
ayaka14732/awesome-rime

A curated list of Rime IME schemata and configs | Rime 輸入方案和配置列表

Creative Commons Attribution 4.0 Internationalrimerime-schema
1.4k94
SivanLaai/rime-pure

【rime 小狼毫\trime 同文】手机/PC一站式配置【简约皮肤\拼音搜狗词库\原创trime同文 四叶草 九宫格 拼音方案\四叶草拼音\四叶草地球拼音\小鹤双拼\极品五笔\QQ五笔\徐码\郑码】

C++MIT Licensetongwensetting
blog.laais.cn/posts/projects/rime/info/
1.1k100