当前位置: 首页 > 软件库 > 手机/移动开发 > >

trime

授权协议 GPL-3.0 License
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 裴昕
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

TRIME

Rime IME for Android

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.

TRIME now upgrade to 3.0, enjoying the advantages of librime with Java Native Interface, referring to as Tongwen Input Method (同文输入法).

You're welcome to contribute ~ ! ��

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 trime
  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 gradle.properties contains following contents for signing information:

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

then run:

cd $trime_folder
make release

Guides

Arch Linux

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

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

macOS

  1. It's recommended that install Android SDK and NDK manually or via Android Studio.
  2. Install Homebrew (If your is network is too slow, you could setup a Homebrew mirror), then run:
brew install automake cmake opencc boost python gradle doxygen clang capnp

Set the following environment variables in your ~/.bashrc is recommended:

# Android
 export ANDROID_HOME="your_android_sdk"
 export ANDROID_NDK="your_android_ndk"
 export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_NDK

Third Party Libraries

  • https://github.com/osfans/trime https://github.com/SteamedFish/trime-uyghur https://github.com/sgalal/awesome-rime https://github.com/LEOYoon-Tsaw/Rime_collections/blob/master/Rime_description.md http