mozc
Mozc is an open-source Japanese IME for various platforms like Android, macOS, Linux, and Windows, evolving from Google Japanese Input. Though unofficial, it provides a subset of source code under OSS license. Different versions can be utilized, sharing the BSD 3-Clause License, but lack of official QA may affect stability.