MrSorrow / trime

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

Home Page:http://osfans.github.io/trime/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Download

Acknowledgments

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 contribution are welcome ~ ! 🎉

Build

  1. Clone this project, please pay attention that it would take a while for large-size boost submodule. And make sure that you have enough available disk space to hold the source code (about 1.5 GB).
cd $your_folder
git clone --recursive https://github.com/osfans/trime.git
  1. If you would like to test the application, run:
cd $trime_folder
make debug

Or if you want to sign for the app to release, create a keystore.properties contains following contents for signing information:

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

then run:

cd $trime_folder
make release

Guides

 yay -S android-{ndk,sdk,sdk-build-tools,sdk-platform-tools,platform} gradle clang capnproto
 make release

For other Linux distributions, you can install the required packages above with their own package managers.

macOS

  1. Install Android SDK

  2. Set up ANDROID_SDK_ROOT

# Android
 export ANDROID_SDK_ROOT="android_sdk_path"
  1. Set up mirror of Homebrew(Optional)

  2. Install Homebrew

 brew install cmake capnp

Third Party Libraries

About

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

http://osfans.github.io/trime/

License:GNU General Public License v3.0


Languages

Language:Java 53.2%Language:Kotlin 24.9%Language:HTML 10.8%Language:C++ 8.4%Language:CMake 1.4%Language:C 1.0%Language:Makefile 0.3%Language:Shell 0.2%