TIM - A Table-base Input Method Module

2002-07-22 Thread Arthit Suriyawongkul

anybody here interesting in this Table-based Input Method ?

  http://sourceforge.net/projects/wenju/


i've got this site from gtk-i18n-list.

:)

regards,
Art


 Original Message 
Subject: Re: TIM - A Table-base Input Method Module
Date: Sun, 21 Jul 2002 09:03:06 -0400
From: Daniel Yacob [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]

many months later...


  Now I just finished such a IM module which you can find it at

http://sourceforge.net/projects/wenju/

  I call it TIM (Table-based Input Method).  I haven't released a package
  yet, but it is in the CVS.


I do like this idea, if I were to give a wish list of features I'd like
to see in an IM description file I'd no doubt end up describing what
Keyman uses.  Perhaps because it is what I'm most familiar with but it
also some nice expressive syntax.

It has occured to me before that it would be nice to be able to import
keyman .kmn files directly.  Has an XML definition for IMs ever been
developed?  It would *really* be nice to have some kind of universal
vendor independent, IM definition, like unicode is to charsets.

Could TIM be taken in this direction?  Towards a XIM?  I'd be happy to
participate in defining an XML schema for it.  Anyone interested?

cheers,

/Daniel
___
gtk-i18n-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list





Re: TIM - A Table-base Input Method Module

2002-07-22 Thread Hideki Hiura
 From: Arthit Suriyawongkul [EMAIL PROTECTED]
 anybody here interesting in this Table-based Input Method ?
   http://sourceforge.net/projects/wenju/
 i've got this site from gtk-i18n-list.

I have not looked at this one yet, but you may also want to take a look at
IIIMF(http://www.li18nux.org/subgroup/im/IIIMF) which has something similar,
called ude(user defined engine) as a table based IM.
Also recently, XML based IM, EIMIL(Extensible IM interface Language) is 
ntroduced to IIIMF, which you can combine the table based IM, the
portable XML based logics, and backend dictionay lookup server.

You can retrive the source of this as follows;

cvs -d -d:pserver:[EMAIL PROTECTED]:/cvsroot co -r exp-EIMIL-1 im-sdk

The following is the sample XML based IM definition, which you can
find in im-sdk/server/programs/language_engines/canna.

This sample shows how you can combine those table/logic and backend
dictionary lookup server(in this case, Japanese Canna dictionary
lookup server).

---
?xml version="1.0"?
!DOCTYPE ccdef PUBLIC "-//Li18nux//DTD CCDEF 1.0//EN"
"ccdef.dtd"

ccdef name="default" class="org.li18nux.CannaLE" revision="0.1"
  interface
langinfo xml:lang="ja"/langinfo
decldata name="edittext" type="mtext"/
declop name="convert"
  dependency depend="edittext" affect="edittext"
/declop
declop name="fixate"
  dependency depend="edittext" affect="edittext"
/declop
  /interface
  engine name="ja-romakana" class="com.sun.iiim.pce1.s1"
PCE
  deftable name="romakana" from="mtext" to="mtext"
"a""あ"
"i""い"
"u""う"
"e""え"
"o""お"

"xa"   "ぁ"
"xi"   "ぃ"
"xu"   "ぅ"
"xe"   "ぇ"
"xo"   "ぉ"

"ka"   "か"
"ki"   "き"
"ku"   "く"
"ke"   "け"
"ko"   "こ"

"kya"  "きゃ"
"kyi"  "きぃ"
"kyu"  "きゅ"
"kye"  "きぇ"
"kyo"  "きょ"

"ga"   "が"
"gi"   "ぎ"
"gu"   "ぐ"
"ge"   "げ"
"go"   "ご"

"gya"  "ぎゃ"
"gyi"  "ぎぃ"
"gyu"  "ぎゅ"
"gye"  "ぎぇ"
"gyo"  "ぎょ"

"sa"   "さ"
"si"   "し"
"su"   "す"
"se"   "せ"
"so"   "そ"

"sha"  "しゃ"
"shi"  "し"
"shu"  "しゅ"
"she"  "しぇ"
"sho"  "しょ"

"sya"  "しゃ"
"syi"  "しぃ"
"syu"  "しゅ"
"sye"  "しぇ"
"syo"  "しょ"

"za"   "ざ"
"zi"   "じ"
"zu"   "ず"
"ze"   "ぜ"
"zo"   "ぞ"

"ja"   "じゃ"
"ji"   "じ"
"ju"   "じゅ"
"je"   "じぇ"
"jo"   "じょ"

"zya"  "じゃ"
"zyi"  "じぃ"
"zyu"  "じゅ"
"zye"  "じぇ"
"zyo"  "じょ"

"ta"   "た"
"ti"   "ち"
"tu"   "つ"
"te"   "て"
"to"   "と"

"cha"  "ちゃ"
"chi"  "ち"
"chu"  "ちゅ"
"che"  "ちぇ"
"cho"  "ちょ"

"tya"  "ちゃ"
"tyi"  "ちぃ"
"tyu"  "ちゅ"
"tye"  "ちぇ"
"tyo"  "ちょ"

"da"   "だ"
"di"   "ぢ"
"du"   "づ"
"de"   "で"
"do"   "ど"

"dha"  "でゃ"
"dhi"  "でぃ"
"dhu"  "でゅ"
"dhe"  "でぇ"
"dho"  "でょ"

"dya"  "ぢゃ"
"dyi"  "ぢぃ"
"dyu"  "ぢゅ"
"dye"  "ぢぇ"
"dyo"  "ぢょ"

"na"   "な"
"ni"   "に"
"nu"   "ぬ"
"ne"   "ね"
"no"   "の"

"nya"  "にゃ"
"nyi"  "にぃ"
"nyu"  "にゅ"
"nye"  "にぇ"
"nyo"  "にょ"

"ha"   "は"
"hi"   "ひ"
"hu"   "ふ"
"he"   "へ"
"ho"   "ほ"

"fa"   "ふぁ"
"fi"   "ふぃ"
"fu"