ibus-typing-booster is a Linux IBus input method engine that provides intelligent text completion, emoji/Unicode symbol input, and multi-language transliteration to speed up typing. It functions as a daemon (ibus-engine-typing-booster) that intercepts keyboard input and provides candidate suggestions based on hunspell dictionaries, user learning history (SQLite), m17n input methods, and optional AI chat models (Ollama). It includes a GTK-based setup tool for configuration and a standalone emoji picker application. The architecture is a monolithic Python application tightly integrated with the IBus framework via D-Bus and PyGObject. It is event-driven (GLib main loop) and supports both GTK3 and GTK4 through a comprehensive compatibility layer. Key data flows involve querying multiple backends (hunspell, m17n, emoji matcher, user database) on each key event and presenting a unified candidate list to the user. The system learns from user selections and stores contextual bigram/trigram data in a local SQLite database. The codebase exhibits high craftsmanship in several self-contained modules. The GTK3/GTK4 compatibility helpers (g_compat_helpers.py) provide a robust abstraction layer for cross-version GUI development. The m17n transliteration module (m17n_translit.py) is a sophisticated ctypes wrapper around a C library. The emoji matching engine (itb_emoji.py) parses multiple Unicode and CLDR data sources to provide comprehensive emoji search. The user learning database (tabsqlitedb.py) implements a well-designed contextual prediction storage system. Maintenance is active with recent commits and responsive issue tracking. Technical drift is medium; while the project actively manages GTK3/4 compatibility, it retains a legacy Autotools build system alongside pyproject.toml, and some CI infrastructure (Ubuntu 18.04) is outdated. The large number of external dependencies (hunspell, m17n-lib, libvoikko, rapidfuzz) and the fragile ctypes bindings to libm17n represent ongoing maintenance risks.
Nodehun is a Node.js native addon that provides bindings to the Hunspell spell checking library. It exposes Hunspell functionality through both synchronous and asynchronous APIs, enabling spell checking, suggestions, morphological analysis, and runtime dictionary management in Node.js applications. The architecture centers around a thread-safe Hunspell context using read-write locks to allow concurrent read operations, with asynchronous workers offloading intensive computations to libuv's thread pool. Key entry points include the Nodehun class initialization in src/index.cc and the async worker implementations in src/Async/. The system relies on the bundled Hunspell library (built from source) and N-API for Node.js version stability.