Scim malayalam phonetic input method With Lookup table!!!

Added a new feature to SCIM malayalam phonetic input method. It can give spelling suggestions while typing!!!. Cool right?
See the below screenshot from my system. I am editing some text in GEDIT. For typing വിള, I have to type viLa according to the IM Scheme. But as every body does, I typed vila. Now hint menu comes with two suggestions. ള and ല. I press arrow keys and it becomes വിള.

An extract from the documentation:
മലയാളം ശബ്ദാത്മക നിവേശകരീതിക്ക് ഉപയോക്താവ് എഴുതിക്കൊണ്ടിരിക്കുമ്പോള്‍ സൂചനകള്‍ കൊടുക്കാന്‍ കഴിയും. ഇത് മലയാളം വളരെപ്പെട്ടെന്ന് തെറ്റ് കൂടാതെ എഴുതാന്‍ സഹായിക്കുന്നു. ചില്ല​ക്ഷരങ്ങള്‍, കൂട്ടക്ഷരങ്ങള്‍ എന്നിവ എഴുതുമ്പോള്‍ ഇത് വളരെ ഫലപ്രദമാണ്. മലയാളികളുടെ സവിശേഷമായ മംഗ്ളീഷ് ഉപയോഗത്തിന്റെ അടിസ്ഥാനത്തിലാണ് ഇതു രൂപകല്പനചെയ്തിരിക്കുന്നത്.

ഉദാഹരണത്തിന് അടിപൊളി എന്നെഴുതാന്‍ പലപ്പോഴും നാം ഉപയോഗിക്കുന്നത് adipoli എന്നാണ്. പക്ഷെ മലയാളം ശബ്ദാത്മക നിവേശകരീതിയിലതെഴുതുന്നത് atipoLi എന്നാണല്ലൊ?. ചിലര്‍​ക്കെങ്കിലുമുണ്ടാകുന്ന ഈ തടസ്സം ഒഴിവാക്കുന്നതിന് സൂചനാപ്പട്ടിക ഉപകരിക്കും. adipoli എന്നെഴുതിക്കൊണ്ടിരിക്കുമ്പോള്‍ di എന്നെഴുതുമ്പോള്‍ സൂചനാപ്പട്ടിക ദി എന്നും ടി എന്നും 2 സൂചനകള്‍ നല്‍കുന്നു. അതുപോലെ ളി എന്നതിനുവേണ്ടി Li ക്കുപകരം li എന്നെഴുതുമ്പോള്‍ പട്ടിക ലി എന്നും ളി എന്നും 2 സൂചനകള്‍ നല്കുന്നു.

ഇതിന്റെ വേറൊരു ഉപയോഗം പേരുകളുടെ കൂടെയുള്ള initials എഴുതുമ്പോള്‍ ആണ്. ഉദാഹരണത്തിന് ലീല പി കെ എന്നെഴുതാന്‍ ശരിക്കും ഉപയോഗിക്കേണ്ടത് leela pi ke എന്നാണ്. പക്ഷെ നാം leela p k എന്നു തന്നെ എഴുതാന്‍ ഇഷ്ടപ്പെടുന്നു. നാം P അല്ലെങ്കില്‍ p എന്നെഴുതുമ്പോള്‍ സൂചനാപ്പട്ടിക പി എന്നൊരു സൂചനകൂടി തരും!.

കെ എസ് ആര്‍ ടി സി എന്നെഴുതാന്‍ K S R T C തന്നെ ഉപയോഗിക്കണമെന്നുണ്ടോ? സൂചനാപ്പട്ടികയുടെ സഹായത്തോടെ നിങ്ങള്ക്ക് K S R T C എന്നു തന്നെ എഴുതാം.

“അടിപൊളി അല്ലേ?!!!”
Now look at this

Note: I decided not to use mozhi scheme as such for the better usability.But I tried to give some compatibility to that scheme by giving alternative patterns in some places.

Scim malayalam phonetic input method : Key mapping

This is the key mapping for scim malayalam phonetic keyboard

a aa A i ii I ee u uu U oo RR
അം അഃ
e E ai ei o O au ou a~ aM ~ aH
ങ്ക ന്റെ
k kh K g gh G ng nk nte
റ്റ ക്ഷ
ch Ch j jh J nj TT x
ക്യു വൈ
t T D Dh N q Y
ക്യൂ ഞ്ച
th thh d dh n Q nch
p f ph b bh B m
y r l v w S z sh s h
L zh R
ന്‍ ല്‍ ള്‍ ര്‍
n~ l~ L~ r~ R~
മലയാളം malayaaLaM malayAla~
സരിഗമപധനി sarigamapadhani
പൊന്പീലി ponpiili
മങ്ക manka
കുടുംബം kutu~ba~ kutu~baM
അവന്‍ avan~
ചക്ഷുശ്രവണഗളസ്ഥമാം chaxuSravanagalasThamaa~ chaxuSravanagalasThamaa~ chakshuSravanagalasThamaa~
പ്രകൃതി prakRthi
കൃഷ്ണന്‍ kRshNan~
പാലക്കാട് paalakkaat pAlakkAt
അക്ഷരം axaraM

Please post your comments in

Dhvani rewrite

I started a re-write on Dhvani architecture, keeping the algorithm same. This is based on Kiss principle. Instead of client server architecture a single executable is my plan. This will help me to integrate it with KTTS, kate etc. Now I know how to integrate Dhvani with KTTS.
Studied autoconf and automake for this…
More and more items in my TODO list…

Only Aspell, no space for others…

It seems that our work on our own spell checker doesnot have any importance other than learning. Aspell is light years ahead of us.There are ispell, myspell also. But we learned a lot about the approximate string comparison, fast search on a big wordlist, candidate list generation etc.. Gora Mohanty gave valuable insights to me on Aspell and how to create the Aspell word list for Malayalam.But still problems on compound words of malayalam.. “Sandhi & Samasam” and the infinite number of words that can be created by that in malayalam is a big hurdle for us..
Can we create a dictionary with all those words?
Can we code that large set of rules?!!
Wait and See 😉

A myth called the Indian programmer

“Most software professionals in India are not programmers, they are mere coders,”,curpg-1.cms

I completely agree with this article. We should make ourself different from others.
Software engineers are becoming dump users. Assemblers of pieces of code that even high school students can do. Are we using anything that we studied in our Computer Science courses in the engineering college?
Are we showing any creativity in this field? (There are exemptions, I agree, but in general)
Read also…

Spell checker and Late night coding..

It was a wonderful week end. Myself and Benzi were working on the spell checker for Malayalam. In April we had done lot of research on this. We did the coding for the dictionary representation in the Binary Retrieval tree (TRIE). Saturday night we did the candidate list generation coding. It is a wonderful experience to code in the late night – one laptop and two persons to code!!!. Every thing worked fine. When we finished the coding, we realized that the application can be tuned to a universal(?) spell checker. So sunday we tested it using a 3 lakh english words.. Worked fine!!. We compared the spelling options generated with aspell. Ours was giving more options since our dictionary is bigger than aspell’s.
We want it to be called as bspell :-). But qns….
Why bspell? what is the extra/less features that bspell has compared to aspell
how to make it language independent?
How to rank the spelling suggestions?
How to make it work with Office suits/Editors?

Answer is “study Aspell”

Plus meet May 2007 at Tippus Fort , Palakkad

Anivar, Praveen, Hiran, Sujith and myself reached the fort at 10.15 AM. Anivar, Praveen, Hiran and Sujith were wearing T-Shirts with Debian Logo.
Riyas has reached already.Meeting started at 11 AM.
Around 20 members participated in the meeting. Meeting place was FREE and OPEN as you have seen in the pictures.
We sat under the tree in the form of a ring. Students from MES kuttippuram, GEC Sreekrishnapuram and GEC Thrissur participated.
First item was introduction. Every body introduced themself, distros used/using etc.
Hiran introduced Riyaz and himself. Meanwhile Riyaz started burning Debian DVDs.
Hiran gave an introduction to Plus to the participants.
Praveen explained the Debian, apt, its difference between Ubuntu, its release cycle etc. The discussion on Freedom concerns and Ubuntu reached in the discussion of
GPL version 3.We discussed the new features of GPLv3: Internationalized terms in the GPLv3, DRM, Microsoft Novell Deal,GPL violation etc.
We watched the “Truth Happens” video.
Participants asked questions about Mp3 patent, LGPL, BSD, Apache license etc.

Praveen has bought chocolates from US. GSOC participants sponsored the lunch for all.

After lunch break, we discussed the future programs of PLUS. We decided to increase the participation of students from engg and arts colleges in Palakkad
GSOC mentors/students updated the status of the projects.
Anivar introduced SMC to the participants.
Praveen explained the translation process.


Free software Alternatives or replacements

What will be the impact of a Discussion on a mailing list regarding
freedom concerns.

See the Old thread on PLUS
& Old gnu Page

If community is vigilant about Freedom lets see what happens

The Word “Free software Alternatives” changed with “Free software