# Third-party notices ## Trime JNI and librime - Upstream: https://github.com/osfans/trime and https://github.com/rime/librime - License: Trime is GPL-3.0-or-later; librime is BSD-3-Clause. - Used for: Trime's Android JNI bridge, offline Pinyin decoding and user dictionary learning. - Corresponding source, build scripts, and the version lock are provided in `third_party/librime`. `app/src/main/jniLibs/arm64-v8a/librime_jni.so` is verified against the official Trime v3.3.11 arm64 release in `SOURCE_LOCK.md`. ## Rime-Ice - Upstream: https://github.com/iDvel/rime-ice - License: GPL-3.0-or-later - Used for: Chinese dictionaries and schema data under `app/src/main/assets/rime`. - Dictionary source revisions and the prebuilt package contract are recorded in `dictionaries/SOURCE_LOCK.md`. The APK includes a factory enhanced package in addition to `8105 + base + others`: ext, tencent, English mixing and Emoji are activated offline on first use. Wanxiang remains an optional download. ## RIME-LMDG / Wanxiang grammar data - Upstream: https://github.com/amzxyz/RIME-LMDG - License: CC-BY-4.0. Optional grammar packages must retain attribution and the exact upstream release digest in their manifest. They are not bundled by default. - Used for: the optional `wanxiang-lts-zh-hans` long-sentence language model. Sogou hotword data is never redistributed by this project. The local dictionary importer accepts files selected by the user and stores them only in app-private storage. ## cppjieba and jieba dictionaries - Upstream: https://github.com/yanyiwu/cppjieba and https://github.com/fxsjy/jieba - License: MIT - Used for: native Chinese segmentation and bundled dictionary data. - The bundled jieba license is at `app/src/main/assets/jieba/LICENSE.txt`. ## Lucide - Upstream: https://lucide.dev/ - License: ISC - Used for: keyboard and settings icons. ## Android and Kotlin dependencies AndroidX, Room, DataStore, OkHttp, Kotlin coroutines, and Kotlin serialization are distributed under their respective upstream licenses. A release SBOM must be attached to every published APK. ## Document import - PDFBox-Android 2.0.27.0: https://github.com/TomRoush/PdfBox-Android ; Apache-2.0; extracts text from PDFs locally. - Apache POI HWPF / poi-scratchpad 5.4.1: https://poi.apache.org/components/document/ ; Apache-2.0; extracts legacy DOC text. Transitive libraries retain their embedded license notices (Commons Codec, Collections, Math, IO, SparseBitSet and Log4j API). - The Android test-only asset app/src/androidTest/assets/poi-empty.doc comes from https://github.com/apache/poi/blob/trunk/test-data/document/empty.doc under the Apache POI project's Apache-2.0 license. It is included only in Android test/debug verification builds, not release APKs. Tests insert a synthetic marker, do not import real customer files, and remove generated cache fixtures afterward. ## Native Markdown rendering - Markwon 4.6.2 (core, tables, strikethrough, tasklist): https://github.com/noties/Markwon ; Apache-2.0. Renders customer analysis in Android TextViews; no WebView or remote image loader is included. - commonmark-java (transitive parser and extensions): https://github.com/commonmark/commonmark-java ; BSD-2-Clause. Distributed dependencies retain their embedded license notices. ### commonmark-java BSD notice Copyright (c) 2015-2016, Atlassian Pty Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.