MSIME for Linux — bundled third-party notices
====================================================

The complete project license is the file named copyright in this directory; the package as a whole is distributed under it. The input engine is this project's own Rust code (the msime-engine crate and the msime-path-trust crate it depends on), ported from the GPL-3.0 C++ msime-engine; those two crates are licensed under the Mozilla Public License 2.0 without Exhibit B, which lets them be combined with this GPL-3.0 program (MPL-2.0 section 3.3), and their LICENSE files are in rust-crates-NOTICES.txt. The dictionary and helpcode notices and the component license texts are installed beside this file.

Components compiled into the shared host library (libmsime_host_api.so, in the msime-client directory under the system library directory, for example lib/x86_64-linux-gnu/msime-client on Debian) include:

* The input engine (msime-engine and msime-path-trust) — this project's own code under the Mozilla Public License 2.0, whose text with the engine's Exhibit A notice is in rust-crates-NOTICES.txt; its source is crates/engine and crates/path-trust in this project's source tree.
* The offline handwriting recognizer, a Rust port of zinnia's recognizer and model reader — zinnia's BSD 3-clause license (Zinnia-LICENSE.txt). The zinnia model it reads is under the LGPL 2.1 (HandwritingModel-LICENSE.txt). Packages that bundle the model install it in share/msime-client/handwriting with HandwritingModel-LICENSE.txt beside it; packages that do not leave it to the settings app, which downloads the model together with HandwritingModel-LICENSE.txt into a per-user directory.
* SQLite, compiled in through rusqlite's bundled build — public domain.
* The Chinese administrative divisions `@` mode offers, from modood/Administrative-divisions-of-China (https://github.com/modood/Administrative-divisions-of-China, commit c49d495b40ac73eb1a66f6eeae5f8fd10696f035), compiled by its author from the division codes published by the National Bureau of Statistics of China — WTFPL (Administrative-divisions-of-China-WTFPL.txt).
* The Korean Hanja table Korean mode converts a syllable with, from the single-syllable readings of libhangul's data/hanja/hanja.txt (https://github.com/libhangul/libhangul, commit 717409ce61524bb3d8426060a384822f21354c62), Copyright (c) 2005,2006 Choe Hwanjin — BSD 3-clause license (libhangul-hanja-BSD-3-Clause.txt).
* The component reverse lookup table of 拆字反查 (C mode), adapted into the input engine from chaizi-jt.txt and chaizi-ft.txt of 漢語拆字字典 (https://github.com/kfcd/chaizi, commit e177ab54ce4edf255315a60593ffecbd8167e96b), © 2015 開放詞典 (http://www.kaifangcidian.com), re-indexed by the pinyin of each component with readings from the Unicode Han Database and traditional forms from OpenCC — Creative Commons Attribution 3.0 Unported (kfcd-chaizi-CC-BY-3.0.txt, which also records the changes made). 開放詞典 does not endorse this software.
* The readings, ranks and traditional variants in that table, from the Unicode Han Database (Unihan) 17.0.0 fields kMandarin, kTGHZ2013, kTGH and kTraditionalVariant, Copyright © 1991-2026 Unicode, Inc. — Unicode License V3 (Unicode-License-V3.txt).
* The LaTeX command names the symbol mode (S mode) looks up, compiled into the input engine from crates/engine/src/local/latex_symbols.tsv, this project's own table — MIT License (latex-symbols-MIT.txt, the same text the latex-symbols phrase table carries as LICENSE.txt when the package carries that pack).
* The symbol mode (S mode) table, compiled into the input engine, whose groups this project chooses from the blocks, general categories, names and decompositions in UnicodeData.txt, Blocks.txt and EquivalentUnifiedIdeograph.txt of the Unicode Character Database 17.0.0, Copyright © 1991-2026 Unicode, Inc. — Unicode License V3 (Unicode-License-V3.txt).
* The Jyutping syllables and words of the input engine's Cantonese scheme (its dictionary, installed in share/msime-client/language-dictionaries when the package carries it, with msime-rime_cantonese_LICENSE.txt beside it), from jyut6ping3.chars.dict.yaml, jyut6ping3.words.dict.yaml and essay-cantonese.txt of rime-cantonese (https://github.com/rime/rime-cantonese, commit 259f0e48bba840c3a2e0d117539e96937f3d89bc) by the Cantonese Computational Linguistics Infrastructure Development Workgroup (CanCLID), in the Jyutping romanization of the Linguistic Society of Hong Kong, with ranking weights for the words its essay lacks from the word counts of the Hong Kong Cantonese Corpus (HKCanCor, https://github.com/fcbond/hkcancor, commit 39aeadf920e0b5ca93d0ad7792c59e740e7bdd65) by Luke Kang Kwong, also CC BY 4.0 — Creative Commons Attribution 4.0 International (rime-cantonese-CC-BY-4.0.txt, which also records the changes made).
* The bopomofo syllables and words of the input engine's Zhuyin scheme (its dictionary, installed in share/msime-client/language-dictionaries when the package carries it, with msime-libchewing_data_LICENSE.txt beside it), from dict/chewing/tsi.csv and dict/chewing/word.csv of libchewing-data (https://github.com/chewing/libchewing-data, commit c44e81aef24b06f1509f19e1be54c99812d0c43f), Copyright (c) 2025 libchewing Core Team, with ranking weights for the phrases tsi.csv does not count from Source/Data/phrase.occ of McBopomofo (https://github.com/openvanilla/McBopomofo, commit be6564acad6c4d3265c34a2e1a872d80f9db6068), MIT License, Copyright (c) 2011-2026 Mengjuei Hsieh et al. — GNU Lesser General Public License 2.1 or later (libchewing-data-LGPL-2.1.txt, which also gives where the unmodified source is published and carries the McBopomofo MIT notice).
* The stroke orders of the input engine's Stroke scheme (its dictionary, installed in share/msime-client/language-dictionaries when the package carries it, with msime-rime_stroke_LICENSE.txt beside it), from stroke.dict.yaml of rime-stroke (https://github.com/rime/rime-stroke, commit 1e8fff9b9494ddec23b0cbc526bcfd8171a6fd48) by 四季的風, 雪齋, Kunki Chou and 宋天, whose main table derives from the CNS11643 stroke data (數位發展部，CNS11643中文標準交換碼全字庫網站，https://www.cns11643.gov.tw) — GNU Lesser General Public License 3.0 (rime-stroke-LGPL-3.0.txt, which also gives where the unmodified source is published). Its candidates are ranked by the character frequencies of the dictionary data.
* ewts 0.1.4 (https://crates.io/crates/ewts, https://github.com/emgyrz/ewts-rs), linked unmodified into the input engine for the Extended Wylie (EWTS) typing of Tibetan mode, by Maxim Zommer — dual-licensed MIT OR Apache-2.0, used under the MIT License (ewts-MIT.txt; the crate ships no licence file, so rust-crates-NOTICES.txt only lists its declared expression and the text here is the standard MIT License naming the author its package metadata gives). Its conversion tables follow ewts-js (https://github.com/rogerespel/ewts-js), Copyright (C) 2010-2025 Roger Espel Llima, Apache License 2.0.
* The 五笔 86 helpcode table (helpcodes/wubi86_helpcode.txt in the installed resource directory), the first two letters of each character's full code in the 86 Wubi table of KyleBing/rime-wubi86-jidian (https://github.com/KyleBing/rime-wubi86-jidian) as msime-dictionary carries it — Apache License 2.0, except 16 characters that come only from the rows of rime/rime-wubi (https://github.com/rime/rime-wubi, LGPL-3.0) merged into that table, which are distributed here under GPL-3.0; its provenance, how it is generated and the license text are in msime-helpcode-wubi86-NOTICE.md.
* OpenCC dictionaries used for Simplified/Traditional conversion — Apache License 2.0 (OpenCC-Apache-2.0.txt).
* The Rust crates the library is built from (serde, toml, sha2, cpal for audio capture and playback, kira for mixing key sounds and music, rusqlite and the rest of its dependency graph) — each crate's own license files, collected at package time (rust-crates-NOTICES.txt).
* Symphonia, which decodes the WAV and Ogg Vorbis files of sound packs (the symphonia crates and triple_buffer) — Mozilla Public License 2.0, whose text is in rust-crates-NOTICES.txt. Their source code is published on crates.io (https://crates.io/crates/symphonia, https://crates.io/crates/triple_buffer) at the versions this project's Cargo.lock pins.
* rink-core, the input engine's V-mode unit conversion — Mozilla Public License 2.0, whose text is in rust-crates-NOTICES.txt; its source is published on crates.io (https://crates.io/crates/rink-core) at the version Cargo.lock pins. It is built without its bundled units database (forked from the GNU Units database, GPL-3.0-or-later); the engine loads unit definitions of its own instead.
* ONNX Runtime 1.24.4 (https://github.com/microsoft/onnxruntime, commit 2d924974ef147392ced8409d36bd6d2e7fcc8a74), built by this project with only the operators the keystroke rerank models use (tools/onnxruntime-minimal) and statically linked to run the keystroke reranker of 整句联想「增强」, in the packages that carry the keystroke rerank models (below) — MIT (onnxruntime-MIT.txt), with the notices of the components ONNX Runtime itself bundles in onnxruntime-ThirdPartyNotices.txt.

The desktop settings binary (msime-linux-desktop, started by msime-linux-settings) statically links its own Rust crate graph, including reqwest with rustls and the webpki-roots certificate data (CDLA-Permissive-2.0); those crates are in rust-crates-NOTICES.txt as well. Its embedded web frontend is bundled from npm packages (React, @tauri-apps/api and their dependencies), whose license files are in frontend-npm-NOTICES.txt.

The MCP server (msime-mcp) statically links its own Rust crate graph, including rmcp (the Model Context Protocol Rust SDK) and schemars; those crates are in rust-crates-NOTICES.txt as well.

On-device speech recognition runs in the msime-voice-local helper, installed beside the host library, which loads two prebuilt shared libraries installed in the same directory:

* sherpa-onnx (libsherpa-onnx-c-api.so) — Apache License 2.0 (sherpa-onnx-Apache-2.0.txt).
* ONNX Runtime (libonnxruntime.so) — MIT (onnxruntime-MIT.txt), with the notices of the components ONNX Runtime itself bundles in onnxruntime-ThirdPartyNotices.txt.

The speech recognition models are not part of this package; the settings page downloads them on request, and each model directory carries its own license.

The built-in sound packs in share/msime-client/sound-packs are this project's own work, synthesized by scripts/generate_sound_packs.py, and dedicated to the public domain under CC0-1.0 (the license field of each plugin.toml).

The keystroke rerank models in share/msime-client/rerank-model (8x448) and share/msime-client/rerank-model-small (6x256), when the package carries them, are rerank-v2 of chinese-ime-lm (https://github.com/metasequoiaime/chinese-ime-lm/releases/tag/rerank-v2), pinned by rerank-model.lock.json — Apache License 2.0, with the upstream NOTICE and the license text in rerank-model-Apache-2.0.txt. The attribution their training corpora require is in each lm_step.ort and model.json and travels with them.

The official plugin packs in share/msime-client/plugin-packs (the uuid script plugin and the latex-symbols phrase table, listed in plugins/official-packs.json of the source tree), when the package carries them, are this project's own work under the MIT License, not GPL-3.0; each pack carries that license as LICENSE.txt beside its plugin.toml. They are off until the user grants or enables them.

Compiled into the native IBus engine, the provider programs and the Fcitx5 addon without a runtime package of their own:

* nlohmann/json, header-only — MIT (nlohmann_json-MIT.txt).
* Wayland protocol code generated by wayland-scanner from wlr-layer-shell-unstable-v1.xml (HPND-style permission notice, wayland-wlr-layer-shell-LICENSE.txt) and xdg-shell.xml from wayland-protocols (MIT, wayland-xdg-shell-LICENSE.txt), present when the build found wayland-client and xdg-shell.xml.

Dictionaries fetched after installation by msime-linux-setup are verified against the installed desktop-dictionary.lock.json and keep their own notices beside them (msime-mozc_dictionary_oss_README.txt and msime-mozc_LICENSE.txt for the Japanese dictionary, msime-scowl_Copyright.txt for the SCOWL words in msime-english.db); msime-engine-dictionary-NOTICE.md records where the dictionary data in those resources comes from and under which terms, including the attribution msime-bigram.bin and msime-trigram.bin owe the Chinese Wikipedia. This package ships the seven built-in helpcode tables under resources/helpcodes; msime-linux-setup also copies them into downloaded resource directories. The engine reads them at run time from helpcodes/, and msime-engine-helpcode-NOTICE.md applies to them.

Data in those dictionaries under the MIT License and the Apache License 2.0, whose texts are installed in this directory because both licences require them to accompany every copy:

* The single-character readings of msime-pinyin.db, corrected against mozillazg/pinyin-data (https://github.com/mozillazg/pinyin-data), and the per-character readings of the emoji, kaomoji and symbol keywords in msime-others.db, from the pinyin crate's copy of the same data, Copyright (c) 2016 mozillazg — MIT License (pinyin-data-MIT.txt).
* The English–Chinese glosses of msime-english.db, from ecdict.csv of skywind3000/ECDICT (https://github.com/skywind3000/ECDICT, commit bc015ed2e24a7abef49fc6dbbb7fe32c1dadaf8b), Copyright (c) 2025 Linwei — MIT License (ECDICT-MIT.txt).
* The kaomoji of msime-others.db, from aoguai/rime_kaomoji_dict (https://github.com/aoguai/rime_kaomoji_dict), Copyright (c) 2023 aoguai — MIT License (rime_kaomoji_dict-MIT.txt).
* The phrase readings of the emoji, kaomoji and symbol keywords in msime-others.db whose reading differs from the per-character one, the lazy_pinyin output of mozillazg/python-pinyin 0.55 (https://github.com/mozillazg/python-pinyin), Copyright (c) 2016 mozillazg, 闲耘 — MIT License (python-pinyin-MIT.txt).
* The 86 Wubi table of msime-wubi.db, from KyleBing/rime-wubi86-jidian (https://github.com/KyleBing/rime-wubi86-jidian) — Apache License 2.0 (rime-wubi86-jidian-Apache-2.0.txt, the upstream LICENSE as of commit 063377a0e3ae7d4084a45f03e4269f62f874f7dc, the terms the table was taken under; upstream moved to the MIT License on 2026-10-29). The upstream repository has no NOTICE file.

Data in those dictionaries under the Creative Commons Attribution 4.0 International License, whose attribution, list of changes and licence text are installed in this directory:

* The ranking weights of msime-pinyin.db, and through them the character weights of msime-stroke.db, for the entries they share with rime-wanxiang by amzxyz (https://github.com/amzxyz/rime-wanxiang, release v18.0.16, commit 7ab73ee0c7f80190004233e70f954833df64c80e), adapted by msime-dictionary: tones removed and each weight rescaled by a per-file factor; no word or reading comes from rime-wanxiang — Creative Commons Attribution 4.0 International, https://creativecommons.org/licenses/by/4.0/ (rime-wanxiang-CC-BY-4.0.txt, with the attribution, the list of changes and the licence text).

The single-character codes of the 新世纪五笔 table (wubixsj) of msime-wubi.db, in the dictionary releases that carry it, come from dicts/wubi06.dict.yaml of byujiang/wubi06_rime (https://github.com/byujiang/wubi06_rime, commit fc1cedbb21cde3ca160ce291888fa70697720ab3) under the GNU General Public License 3.0, the licence of this package (the file named copyright), so no separate licence text is installed for them; the table's words are generated by this project from its own word lists and those codes. The GPL-3.0 was given by the repository's maintainer, not by whoever compiled the table, and the upstream does not record where the table comes from; msime-engine-dictionary-NOTICE.md records what is known. The user interface calls it 新世纪五笔 and does not use the 王码 or 五笔字型 trademarks.

The sentence rerank model sentence-model.safetensors in share/msime-client/resources, and sentence-model-desktop.safetensors in share/msime-client/settled-model when the package carries it, are model-v1 of chinese-ime-lm (https://github.com/metasequoiaime/chinese-ime-lm/releases/tag/model-v1), installed unmodified and pinned by resources/neural-model.lock.json of the source tree — Apache License 2.0, with the upstream NOTICE, the attribution their training corpora (the Chinese portion of C4 under ODC-BY, LCCC under MIT) require and the license text in sentence-model-Apache-2.0.txt. The same attribution is in the safetensors metadata of each file and travels with it.

Shared libraries such as IBus, Fcitx5, ICU, libcurl, ALSA (libasound, which the host library's audio capture and playback link), GTK and WebKitGTK are not bundled; they are loaded at run time from the distribution's packages, which carry their own copyright files.

The source tree retains each upstream notice. This collection is not a license-completeness or redistribution-authorization assessment; nested archives and distribution-specific dependencies must retain their own terms.

* 语法模型查询与编码逻辑移植自 lotem/librime-octagram，提交 57d18b9f58e5284bd891d559f6bdd16cf60341e9，Copyright (c) 2014, RIME Developers，BSD-3-Clause（librime-octagram-BSD-3-Clause.txt）；其中双数组 Trie 的读取按 darts-clone 0.32（https://github.com/s-yata/darts-clone）的数据布局重新实现，Copyright (c) 2008-2014, Susumu Yata，BSD-2-Clause，条款原文附在同一文件末尾。
* The beam sorts of the input engine's sentence decoder (crates/engine/src/lattice/cxx_sort.rs), reproduced step by step from LLVM libc++'s __algorithm/partial_sort.h, sort.h, make_heap.h, sift_down.h, pop_heap.h, push_heap.h and sort_heap.h, with this project's changes listed in that file — Apache License 2.0 with LLVM Exceptions (libcxx-Apache-2.0-WITH-LLVM-exception.txt, libc++'s LICENSE.TXT).
* The per-syllable weights nine-key typing ranks its spellings by (crates/engine/src/nine_key/syllable_frequency.tsv), compiled into the input engine: 424 sums of word weights aggregated from the msime-pinyin.db of msime-dictionary dict-v2.1.2, whose words come from rime-ice (GPL-3.0) and part of whose summed weights are adapted from rime-wanxiang (CC BY 4.0, see rime-wanxiang-CC-BY-4.0.txt). The table holds no words, readings or per-word weights, only these aggregate statistics.

* 桌面离线翻译嵌入 llama.cpp（提交 8642541b255bfb5dc39cd351a178be09013a55d6），MIT，全文见 llama-cpp-MIT.txt。Rust 绑定 llama-cpp-2 / llama-cpp-sys-2 0.1.162（Git 提交 0364f5da1c6a6ee37f507031f116ce4a09b28594） 使用 Apache-2.0，全文见 llama-cpp-rs-Apache-2.0.txt。
* Built with PLaMo。PLaMo 0.8B Q4_K_M 按需下载，不随包捆绑；来源 https://huggingface.co/pfnet/plamo-3-translate-0.8b-GGUF ，提交 dbeb0856cb0b004b484f190bb71dd65876297013。PLaMo Community License 全文见 plamo-community-license.txt；商业用途有登记和营收限制，公开分发译文须注明模型来源。
