Jump to content

Intelligent Input Bus

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Citation bot (talk | contribs) at 09:17, 28 September 2022 (Removed parameters. | Use this bot. Report bugs. | Suggested by Whoop whoop pull up | #UCB_webform 260/2124). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

IBus
Original author(s)Peng Huang
Developer(s)Peng Huang
Initial releaseAugust 2008; 16 years ago (2008-08)
Stable release
1.5.30[1] Edit this on Wikidata / 2 May 2024; 6 months ago (2 May 2024)
Repository
Written inC, Python
Operating systemUnix-like
Available inMultilingual
TypeInput method
LicenseGNU LGPL v2 or later
Websitegithub.com/ibus/ibus

The Intelligent Input Bus (IBus, pronounced as I-Bus) is an input method (IM) framework for multilingual input in Unix-like operating-systems. The name "Bus" comes from its bus-like architecture.

Goals

The main goals of the IBus project include:

  • Providing full-featured and user-friendly input-method user interfaces
  • Employing authentication measures to improve security
  • Providing a universal interface and library for input-method developers
  • Fitting the need of users from different regions and customs

Motivation

The draft Specification of IM engine Service Provider Interface[2] document from the Northeast Asia OSS Forum[3] Work Group 3 recommends bus-centric IM framework architectures with a bus implementation (similar to dbus). According to the specification, SCIM-1.4 is not considered suitable for further development as it is developed in C++, which usually causes ABI transition problems.[4]

Since then, succeeding projects like IM-BUS (led by James Su) and SCIM-2 (led by Zheng Hu) were started. However, both projects are suspended. Therefore, Huang Peng from Red Hat established the IBus project to prove the idea of IM-BUS by using Python, D-Bus and GLib rather than implementing the functions recommended by CJK OSS forum. In spite of that, IBus has already gained community acceptance, and FreeBSD and many Linux distribution such as Fedora and Ubuntu already have IBus in their package repositories. IBus became the new default input method framework in Fedora 11,[5] and replaced SCIM in Ubuntu 9.10.[6]

Architecture

IBus is developed in C and Python, thus avoiding the C++ ABI transition problem of SCIM <1.4.14.

IBus provides most of its functionality through services. There are three kinds of services:

  • Input method engine (IME): Actual input method
  • Configuration: Handles the configuration for IBus and other services such as IME
  • Panel: User interface such as language bar and candidate selection table

IBus employs D-Bus to communicate among ibus-daemon, services, and IM clients such as terminal emulators, editors and web browsers. ibus-daemon manages all clients and services by receiving registrations from services, and sending D-Bus message to corresponding services and IM client.

It implements XIM protocol, and has GTK and Qt input method modules.

Features

  • Engine loading and unloading on demand
  • Notification area support on the taskbar
  • Interoperability with XKB
  • Immediately applies configuration changes[7]
  • Provides C and Python bindings

Available input method plugins and engines

  • ibus-anthy: A plugin for Anthy, a Japanese IME
  • ibus-avro: Phonetic keyboard layout for writing Bengali based on Avro Keyboard[8][9][10]
  • ibus-cangjie:[11] An engine for the Cangjie input method
  • ibus-chewing: An intelligent Chinese Phonetic IME for Zhùyīn users. It is based on libChewing.
  • ibus-hangul: A Korean IME
  • ibus-libpinyin: A newer Chinese IME for Pinyin users. Designed by Huang Peng and Peng Wu.
  • ibus-libthai: A Thai IME based on libthai
  • ibus-libzhuyin:[12] An engine for the Zhùyīn ("bopomofo") input method (an alternative to ibus-chewing)
  • ibus-m17n: A multilingualism IME which allows input of many languages using the input methods from m17n-db. See more details in #ibus-m17n.
  • ibus-mozc: A plugin to the Japanese IME "mozc" developed by Google[13]
  • ibus-pinyin: An intelligent Chinese Phonetic IME for Hanyu pinyin users. Designed by Huang Peng (main author of IBus) and has many advanced features such as English spell checking.
  • ibus-table: An IME that accommodates table-based IMs. See more details in #ibus-table.
  • ibus-unikey: An IME for typing Vietnamese characters

ibus-m17n

ibus-m17n is an IME that uses input methods and corresponding icons in the m17n database. Unlike ibus-table which supports plain tables, m17n input methods also support states, whose labels are displayed on the IBus panel (language bar). M17n input methods also support surrounding text, consequently, languages such as Thai and IMs such as plain Zhuyin that require this feature are supported through ibus-m17n.

ibus-table

ibus-table, developed by Yu Wei Yu, is an IME that loads tables of input methods which do not need complicated logic to select words.[14] Many structure-based Chinese input methods such as Cangjie and Wubi are supported this way.

Officially released IM tables:[15]

  • latex: Input special characters using LaTeX syntax. Included in ibus-table package.
  • compose: input special letter by compose letter and diacritical mark. Included in ibus-table package.
  • Array30: Array30 Chinese IM tables
  • Cangjie: Cangjie 3 and 5 Chinese IM tables
  • Erbi: Er-bi Chinese IM table
  • Wubi: Wubi Chinese IM table
  • Yong: YongMa Chinese IM Table
  • ZhengMa: ZhengMa Chinese IM table

See also

References

  1. ^ "1.5.30". 2 May 2024. Retrieved 2 May 2024.
  2. ^ Goto, Shizuo; Miura, Hiroshi (12 September 2007). "Draft recommendation of Information Technology - the Specification of IM engine Service Provider Interface" (PDF). NEA OSS PF Org. Archived from the original (PDF) on 9 August 2018. Retrieved 26 October 2019.
  3. ^ "WG3 (Activities and Result)". NEA OSS Forum. Archived from the original on 2012-03-08. Retrieved 2019-10-26.
  4. ^ PHua, Ming (2004-08-13). "[Pkg-ime-devel] SCIM ABI transition in sid". Pkg-ime-devel (Mailing list).
  5. ^ "Releases/11/FeatureList". The Fedora Project. 8 April 2009. Archived from the original on 8 April 2009. Retrieved 26 October 2019. A new default input method framework under active development which is designed to overcome the limitations of SCIM.
  6. ^ "KarmicKoala/TechnicalOverview - Ubuntu Wiki". Ubuntu. 28 October 2009. Archived from the original on 21 November 2011. Retrieved 26 October 2019. Ubuntu has switched to IBus as preferred input method framework. Unlike the previously used SCIM, IBus is under active development and fixes a number of SCIM's design limitations.
  7. ^ "About IBus - International Language Environments Guide for Oracle Solaris 11.2". Oracle Corporation. Archived from the original on 17 May 2017. Retrieved 26 October 2019.
  8. ^ Khan, Sarim (2021-01-06), ibus-avro, retrieved 2021-01-12
  9. ^ "Details of Package ibus-avro in Sid". packages.debian.org. Retrieved 2020-11-09.
  10. ^ "Avro Keyboard - Unicode and ANSI compliant Free Bangla Typing Software and Bangla Spell Checker". www.omicronlab.com. Retrieved 2020-11-09.
  11. ^ "Debian -- Details of package ibus-cangjie in sid". Debian. Archived from the original on 26 October 2019. Retrieved 26 October 2019.
  12. ^ "libzhuyin/ibus-libzhuyin: New Zhuyin engine based on libzhuyin for IBus". GitHub. 7 May 2019. Archived from the original on 26 October 2019. Retrieved 26 October 2019.
  13. ^ "Mozc - a Japanese Input Method Editor designed for multi-platform". GitHub. 25 February 2018. Archived from the original on 26 September 2019. Retrieved 26 October 2019. Mozc is a Japanese Input Method Editor (IME) designed for multi-platform such as Android OS, Apple OS X, Chromium OS, GNU/Linux and Microsoft Windows. This OpenSource project originates from Google Japanese Input.
  14. ^ "ibus - TableReadme.wiki (in Chinese and English)". Google Code. Archived from the original on 6 September 2017. Retrieved 26 October 2019. IBus-Table is the IM Engine framework for table-based input methods, such as ZhengMa, WuBi, ErBi, CangJie and so on.
  15. ^ "ibus Google Code Archive - Long-term storage for Google Code Project Hosting". Google Code. 16 January 2014. Archived from the original on 5 January 2017. Retrieved 26 October 2019.