「IBus」の版間の差分
m編集の要約なし |
→対応するインプットメソッドプラグインと変換エンジン: ibus-skk をリストに追加。ibus-canna のリンク先が「データがありません」と表示されるため、プロジェクトページに変更、及び cite web 化。 |
||
(2人の利用者による、間の2版が非表示) | |||
25行目: | 25行目: | ||
==動機== |
==動機== |
||
Northeast Asia OSS Forum<ref>[http://www.neaossforum.org Northeast Asia Open Source Software Forum]</ref>の第3ワークグループによる''Specification of IM engine Service Provider Interface''<ref> |
Northeast Asia OSS Forum<ref>[http://www.neaossforum.org Northeast Asia Open Source Software Forum]</ref>の第3ワークグループによる''Specification of IM engine Service Provider Interface''<ref> |
||
[http://wg3.neaoss.org/files/neaoss_wg3_IM_spec.pdf Specification of IM engine Service Provider Interface]</ref>のドラフトは、[[D-Bus]]のような[[バス (コンピュータ)]]の実装を伴うバス中心の[[インプットメソッド]]構造を推奨した。その仕様書によれば、[[SCIM]]-1.4はC++で開発されている点で開発にあまりに適さないと考えられる。それは[[アプリケーションバイナリインタフェース]] (ABI) の変遷による問題でよく引き起こされる<ref>[http://lists.alioth.debian.org/pipermail/pkg-ime-devel/2005-August/000276.html SCIM ABI transition in sid]</ref>。 |
[http://wg3.neaoss.org/files/neaoss_wg3_IM_spec.pdf Specification of IM engine Service Provider Interface]</ref>のドラフトは、[[D-Bus]]のような[[バス (コンピュータ)]]の実装を伴うバス中心の[[インプットメソッド]]構造を推奨した。その仕様書によれば、[[Smart Common Input Method|SCIM]]-1.4はC++で開発されている点で開発にあまりに適さないと考えられる。それは[[アプリケーションバイナリインタフェース]] (ABI) の変遷による問題でよく引き起こされる<ref>[http://lists.alioth.debian.org/pipermail/pkg-ime-devel/2005-August/000276.html SCIM ABI transition in sid]</ref>。 |
||
そのため、[[IM-BUS]]<!-- (led by [[James Su]]) -->やSCIM-2のような後継のプロジェクトがスタートした。しかしどちらのプロジェクトも休止してしまった。そのため[[レッドハット]]の[[Huang Peng]]<!--はんぺん?-->はIM-Busの考え方をCJK OSSフォーラムが推奨する機能<!--functionだから「関数」かもしれない-->の実装の代わりに<!--rather than-->、PythonやD-Busそして[[gLib]]を用いて提供するためにIBusプロジェクトを創設した。それにも関わらず、IBusはすでにコミュニティの承認を得ており、[[Fedora]]や[[Ubuntu]]のような[[Linuxディストリビューション]]<!--、それに[[FreeBSD]]では--><!--FreeBSDのportsは、Linuxのディストリビューションにおける「標準のレポジトリ」とは位置付けが異なる。標準のレポジトリほどにはプロジェクトが面倒を見てはくれない等-->ユーザーが追加しなくてもIBusが標準の[[レポジトリ]]に含まれている。IBusはFedora 11から新しい標準インプットメソッド<ref>[http://fedoraproject.org/wiki/Releases/11/FeatureList Fedora 11 Feature List]</ref>になり、Ubuntuでは9.10でSCIMから置き換えられた。 |
そのため、[[IM-BUS]]<!-- (led by [[James Su]]) -->やSCIM-2のような後継のプロジェクトがスタートした。しかしどちらのプロジェクトも休止してしまった。そのため[[レッドハット]]の[[Huang Peng]]<!--はんぺん?-->はIM-Busの考え方をCJK OSSフォーラムが推奨する機能<!--functionだから「関数」かもしれない-->の実装の代わりに<!--rather than-->、PythonやD-Busそして[[gLib]]を用いて提供するためにIBusプロジェクトを創設した。それにも関わらず、IBusはすでにコミュニティの承認を得ており、[[Fedora]]や[[Ubuntu]]のような[[Linuxディストリビューション]]<!--、それに[[FreeBSD]]では--><!--FreeBSDのportsは、Linuxのディストリビューションにおける「標準のレポジトリ」とは位置付けが異なる。標準のレポジトリほどにはプロジェクトが面倒を見てはくれない等-->ユーザーが追加しなくてもIBusが標準の[[レポジトリ]]に含まれている。IBusはFedora 11から新しい標準インプットメソッド<ref>[http://fedoraproject.org/wiki/Releases/11/FeatureList Fedora 11 Feature List]</ref>になり、Ubuntuでは9.10でSCIMから置き換えられた。 |
||
== 構造 == |
== 構造 == |
||
IBusは[[C言語]]と[[Python]]で開発されている。これは[[SCIM]] 1.4.14以降での[[C++]]のABI変更に伴う問題を防ぐためである。 |
IBusは[[C言語]]と[[Python]]で開発されている。これは[[Smart Common Input Method|SCIM]] 1.4.14以降での[[C++]]のABI変更に伴う問題を防ぐためである。 |
||
IBusの大部分の機能はサービスを通して提供される。"サービス"の例は以下の通りである。 |
IBusの大部分の機能はサービスを通して提供される。"サービス"の例は以下の通りである。 |
||
51行目: | 51行目: | ||
* ibus-anthy: A plugin for [[Anthy]], a Japanese IME. |
* ibus-anthy: A plugin for [[Anthy]], a Japanese IME. |
||
* [http://ibus-cangjie.opensource.hk ibus-cangjie]: An engine for the [[倉頡輸入法|Cangjie input method]]. |
* [http://ibus-cangjie.opensource.hk ibus-cangjie]: An engine for the [[倉頡輸入法|Cangjie input method]]. |
||
*ibus-[[canna]] |
* ibus-[[canna]]<ref>{{cite web|url=https://build.opensuse.org/package/show/home:ftake/ibus-canna|title=Show home:ftake / ibus-canna - openSUSE Build Service|website=[[openSUSE]] Build Service|publisher=[[openSUSE]] project|accessdate=2024-01-01}}</ref>: Canna of the NEC company (now SourceForge). Only for distributions of Debian and openSUSE compatibles. |
||
* ibus-chewing: An intelligent Chinese Phonetic IME for [[注音符号|Zhuyin]] users. It is based on [[Chewing (Input Method)|libChewing]]. |
* ibus-chewing: An intelligent Chinese Phonetic IME for [[注音符号|Zhuyin]] users. It is based on [[Chewing (Input Method)|libChewing]]. |
||
* ibus-hangul: A Korean IME. |
* ibus-hangul: A Korean IME. |
||
57行目: | 57行目: | ||
* ibus-mozc: A plugin to the Japanese IME "mozc" developed by Google. |
* ibus-mozc: A plugin to the Japanese IME "mozc" developed by Google. |
||
* ibus-pinyin: An intelligent Chinese Phonetic IME for [[ピン音|Hanyu pinyin]] users. Designed by IBus main author and has many advanced features such as English spell checking. |
* ibus-pinyin: An intelligent Chinese Phonetic IME for [[ピン音|Hanyu pinyin]] users. Designed by IBus main author and has many advanced features such as English spell checking. |
||
* ibus-skk<ref>{{cite web|url=https://github.com/ueno/ibus-skk|title=GitHub - ueno/ibus-skk: Japanese SKK engine for IBus|last=Ueno|first=Daiki|website=[[GitHub]]|publisher=GitHub, Inc.|accessdate=2024-01-01}}</ref>: A Japanese [[SKK]] input engine for IBus. |
|||
* ibus-table: An IME that accommodates table-based IMs. See more details in [[#ibus-table]]. |
* ibus-table: An IME that accommodates table-based IMs. See more details in [[#ibus-table]]. |
||
* ibus-unikey: An IME for typing Vietnamese characters. |
* ibus-unikey: An IME for typing Vietnamese characters. |
||
64行目: | 65行目: | ||
===ibus-table=== |
===ibus-table=== |
||
ibus-tableは用意されたテーブルを読み込むだけの単語を選択するための複雑なロジックを必要としないインプットメソッドで、Yu Wei Yu<!-- 多分「余鈺煒」だが、中国語は読めない -->によって開発された<ref>[ |
ibus-tableは用意されたテーブルを読み込むだけの単語を選択するための複雑なロジックを必要としないインプットメソッドで、Yu Wei Yu<!-- 多分「余鈺煒」だが、中国語は読めない -->によって開発された<ref>[https://code.google.com/archive/p/ibus/wikis/TableReadme.wiki ibus-table README] (in Chinese and English)</ref> [[倉頡輸入法]](Caangjie)や[[五筆字型輸入法]](Wubi)のような中国語向けの多くのインプットメソッドはこの方法でサポートされている。 |
||
公式にリリースされているインプットメソッドテーブル:<ref>[ |
公式にリリースされているインプットメソッドテーブル:<ref>[https://code.google.com/archive/p/ibus/downloads IBus Google Downloads]</ref> |
||
* latex: Input special characters using latex syntax. Included in ibus-table package. |
* 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. |
* compose: input special letter by compose letter and diacritical mark. Included in ibus-table package. |
||
78行目: | 79行目: | ||
==関連項目== |
==関連項目== |
||
* [[インプットメソッド]] |
* [[インプットメソッド]] |
||
* [[Smart Common Input Method |
* [[Smart Common Input Method]] (SCIM) |
||
* [[uim]] |
* [[uim]] |
||
2024年1月1日 (月) 06:49時点における最新版
この記事の正確性に疑問が呈されています。 |
gedit上でIBusとibus-anthyを使って日本語を入力している画面 | |
開発元 | Shawn. P. Huangなど |
---|---|
リポジトリ | |
対応OS | Unix系 |
種別 | インプットメソッド |
ライセンス | GNU Lesser General Public License |
公式サイト | https://github.com/ibus/ibus |
IBus(アイバス、Intelligent Input Bus)はUnix系オペレーティングシステム (OS) におけるインプットメソッドフレームワークである。IBusのBusはバスのような構造を持つところから来ている。
目標
[編集]IBusの主要な目標は以下のようなものである。
- ユーザーフレンドリーでかつ十分な機能を持ったインプットメソッドのユーザインタフェースを提供する
- セキュリティの向上のために認証の評価を採用する
- 変換エンジン開発者へ普遍的なインタフェースとライブラリを提供する
- 様々な地域や利用者の要求に耐えうる
動機
[編集]Northeast Asia OSS Forum[1]の第3ワークグループによるSpecification of IM engine Service Provider Interface[2]のドラフトは、D-Busのようなバス (コンピュータ)の実装を伴うバス中心のインプットメソッド構造を推奨した。その仕様書によれば、SCIM-1.4はC++で開発されている点で開発にあまりに適さないと考えられる。それはアプリケーションバイナリインタフェース (ABI) の変遷による問題でよく引き起こされる[3]。
そのため、IM-BUSやSCIM-2のような後継のプロジェクトがスタートした。しかしどちらのプロジェクトも休止してしまった。そのためレッドハットのHuang PengはIM-Busの考え方をCJK OSSフォーラムが推奨する機能の実装の代わりに、PythonやD-BusそしてgLibを用いて提供するためにIBusプロジェクトを創設した。それにも関わらず、IBusはすでにコミュニティの承認を得ており、FedoraやUbuntuのようなLinuxディストリビューションユーザーが追加しなくてもIBusが標準のレポジトリに含まれている。IBusはFedora 11から新しい標準インプットメソッド[4]になり、Ubuntuでは9.10でSCIMから置き換えられた。
構造
[編集]IBusはC言語とPythonで開発されている。これはSCIM 1.4.14以降でのC++のABI変更に伴う問題を防ぐためである。
IBusの大部分の機能はサービスを通して提供される。"サービス"の例は以下の通りである。
- Input method engine: 変換エンジン。IMEと省略することもできるが、MS IME(Input Method Editor)とは語源が異なる。
- Configuration: 設定。IBusや変換エンジンのような"サービス"の設定を扱う。
- Panel: パネル。言語バーや候補選択画面のユーザインタフェース。
IBusはibus-daemon、service、テキストエディタ、ウェブブラウザ、端末エミュレータのようなインプットメソッドクライアントと連携(通信)するためにD-Busを採用している。ibus-daemonマネージャーはサービスからの登録を受け取り、D-Busのメッセージを対応するサービスやインプットメソッドクライアントに送信することで、すべてのクライアント、サービス、クライアントを処理している。
IBusはXIMのプロトコル、GTK、Qtのインプットメソッドモジュールを実装している。
特徴
[編集]- 変換エンジンのロード、アンロードが要求された時点で行える。
- X keyboard extensionが動作する
- 設定変更が即座に反映される
- C言語とPythonによるバインディングが提供される
対応するインプットメソッドプラグインと変換エンジン
[編集]- ibus-anthy: A plugin for Anthy, a Japanese IME.
- ibus-cangjie: An engine for the Cangjie input method.
- ibus-canna[5]: Canna of the NEC company (now SourceForge). Only for distributions of Debian and openSUSE compatibles.
- ibus-chewing: An intelligent Chinese Phonetic IME for Zhuyin users. It is based on libChewing.
- ibus-hangul: A Korean IME.
- ibus-m17n: A m17n 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.
- ibus-pinyin: An intelligent Chinese Phonetic IME for Hanyu pinyin users. Designed by IBus main author and has many advanced features such as English spell checking.
- ibus-skk[6]: A Japanese SKK input engine for IBus.
- 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はm17nデータベースよりインプットメソッドとそれに対応するアイコンを使う変換エンジン(IME)。ibus-tableが純粋なテーブル(表、辞書)をサポートするのに対し、m17nのインプットメソッドは入力モードに対応しており、そのラベルはIBus panel(言語バー)に表示される。m17n入力方法は周辺のテキストにも対応しているので、タイ語のような言語や純粋なピンイン入力が必要なインプットメソッドなどがibus-m17nを利用してサポートされている。
ibus-table
[編集]ibus-tableは用意されたテーブルを読み込むだけの単語を選択するための複雑なロジックを必要としないインプットメソッドで、Yu Wei Yuによって開発された[7] 倉頡輸入法(Caangjie)や五筆字型輸入法(Wubi)のような中国語向けの多くのインプットメソッドはこの方法でサポートされている。
公式にリリースされているインプットメソッドテーブル:[8]
- 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.
関連項目
[編集]脚注
[編集]- ^ Northeast Asia Open Source Software Forum
- ^ Specification of IM engine Service Provider Interface
- ^ SCIM ABI transition in sid
- ^ Fedora 11 Feature List
- ^ “Show home:ftake / ibus-canna - openSUSE Build Service”. openSUSE Build Service. openSUSE project. 2024年1月1日閲覧。
- ^ Ueno, Daiki. “GitHub - ueno/ibus-skk: Japanese SKK engine for IBus”. GitHub. GitHub, Inc.. 2024年1月1日閲覧。
- ^ ibus-table README (in Chinese and English)
- ^ IBus Google Downloads