Friday, August 13, 2004

Truetype fonts snapshot from thaifonts-scalable

Truetype fonts snapshot from thaifonts-scalable can be downloaded here. To install fonts is quite simple now. We can just copy *.tff to $HOME/.fonts directory. My friend wanna to use Loma and other fonts. I don't know where to grab them then I install fontforge and grab thaifonts-scalable from cvs ( head ), run configure, make and pack this to my friends. Hence, notthing officially and I don't know what gotta happen to your desktop after install this :-P

Thursday, August 05, 2004

Tuesday, July 27, 2004

Influenced by MBasic

I wondered how MBasic interpret strings ( Basic code. ). I wanna see how it work so I use GNU/Linux, which is free software. Although there is no MBasic in Linux Distro but there are plenty of another interpreter to hack. My main job is also about string manupulating. Today I 'm writing program to generate parse tree from Earley parsing result. I go on manipulate string, not because that I can do well but just because I wanna do. :-P

Tuesday, July 13, 2004

dict-lexitron package for debian

dict-lexitron debian package can be download here.
I suppose to make on all architects but I don't know how to do :-P
I changed debian/control, then dpkg-buildpackage do not work.

Monday, July 12, 2004

dictd-lexitron on Debian

I try to fix shit that I left in dictd-lexitron. I forgot to add some file in Makefile.am and configure.in.
So I make this patch. I try to make deb for dictd-lexitron but it is not finish yet. Anyway, there are some progress. To install *.dict.gz and *.index to /usr/share/dictd only is not enough to Debian. After I use command /etc/init.d/dictd restart, ``dictd'' was killed because of LOCALE problem. To use command ``/usr/sbin/dictd --locale=th_TH.UTF-8'' instead could make it work but I still don't if I use modify /etc/init.d/dictd or not??? Where do I suppose to modify? ( Please leave me some comments )

Tuesday, July 06, 2004

Chinese Language Enabled Live CD

I cannot download any Chinese Language Enabled Live CD. To install chinese fonts is pretty obvious but to config XCIN doesn't seem to be easy for me. Hence, I think trying something that is already work is better :-P Therefore, I ask some suggestion for Singpore LUG , which, I 'm waiting for ...

Friday, July 02, 2004

Debian Package

I have to install Statistics-MaxEntropy, which is Perl module and we need it for many statistical NLP tasks, to Debian boxes. I will need to install it again. Thus, I will make my first debian package. However, please tell me if it is already exist. I plan to follow this document and then make it fast and dirty :-P Upstream contribution is not main purpose. Anyway, I will clean it if I have free time.

Sunday, June 20, 2004

Thai Dictionary on Dict Protocol

Poonlap made a program to convert data from Lexitron to dictd format. Thus, nowaday we have available English-Thai dictionary on dict protocol. That means we can use existing dict client such as gdict. And we can use Lexitron dictionary offline without using Java runtime environment. I try to get involve by adding autotools support patch which I don't know if it is good enough to use. :-P

Thursday, June 17, 2004

Python and GTK+ as Cross Platform Environment

I used to have problem on using Python and GTK+ with Thai language.

But today it seems to be okay.



I installed these following software:

  1. GTK+ Runtime Environment

  2. Gaim - I don't know how to install Wimp so I use Gaim installer :-P

  3. PyGTK

  4. MinGW PyGTK can't find some DLLs. I don't know to set PATH on Windows so I use MinGW and Bash.


I 'm going to install gtksourceview from source package. It is probably hard task. I will follow the script of Dropline GTK+ Win32 and PyGTK Win32 ( In Do it yourself section ) . I probably need GCC from MinGW.

Wednesday, June 16, 2004

WISICT 05

I have to seek for conference for master degree. Winter International Symposium on Information and Communication Technologies seems to be interesting.

Unified /home

New server has come to my lab. I don't wanna maintain different /home in different machine so I try to share it by NFS. Installing NFS is not as hard as I think but I still have problem. I wanna unified group id, user id and password too. I 'm not if OpenLDAP can solve all of this problem.

Monday, June 14, 2004

Knoppix Terminal Server on Debian Sarge

I asked if I can install Knoppix Terminal Server on Debian Sarge so nUm recommended me this page.

Abiword 2.1.3 on Windows 's Thai text breaking problem.

Abiword 2.1.3 on Windows 's Thai text breaking problem. This is screenshot.

Sunday, June 13, 2004

Abiword Bugs

I reported 2 new bugs to Abiword's BugzillaI reported 2 new bugs to Abiword's BugzillaI reported 2 new bugs to Abiword's Bugzilla. They are bug no. 6986 and 6987. They are about Thai word breaking and Thai character deleting repectively.

Euro 2004

Euro 2004 (Football) Schedule is here in Thai language.Euro 2004 (Football) Schedule is here in Thai language.Euro 2004 (Football) Schedule is here in Thai language.

Wednesday, June 09, 2004

Making slide on TLE and Sarge.

I use Latex, Thai Latex Extension and Prosper.

Tuesday, June 08, 2004

Danish Dependency Treebank

I just found Danish Dependency Treebank. :-P There are so much to see following its links.

GNUstep and Themes

I wanna try this theme. Fai said that it is bundle themes. I'm wait for its releasing.

Sunday, June 06, 2004

BibTeX and Thai Language

Noo and I modified .bst file for our senior project report in Thai langauge. I usually forget fields in bib files. The manual is here.

Gantt Chart in Latex

I was told to put gantt chart in my report. MrProject is easy to use and it is wysiwyg stuff but it seem to be inconvenient to export gantt chart to Latex. Nowaday, I use this pacakge to make gantt chart. It has done by PSTricks. ( thx Joy )

Technical Writting

It is very very hard task for me but I have to do it otherwise I won't be able to go on my occupation in research area. I try to write only important things and put detail in footnote. And I try to design my document first. If you have any suggestion, please tell me.

Friday, June 04, 2004

Progeny again.

I installed Progeny Debian to my PC again. It doesn't work it my Genius wheel mouse. I don't know why I can't move mouse's cursor horizontally since the configuration of X11 seem to be as same as in TLE 5.5. ( but they are in differrent file XF86Config-4 and XF86Config. )



Note: Thep told me that I use install package perhap named ``menu'' then I can use Debian menu.

Grammar Compacting

Grammar compacting program for experiment is available now.

Thursday, June 03, 2004

Config timezone in GNUstep

In directory System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones, cp gmt+7 ICT. ( In case of Thailand )

GNUstep and Art-Backend Installation

To use Art-Backend, we need to install specific fonts for Art that we can get here.

Software Piracy and Moral Precept

I discuss this topic in forum of a Buddhism group.

Wednesday, June 02, 2004

Earley Parser Learning

I try to learn how Earley parser work. Thus, I write this simple implementation for learning purpose. If you find the faults because I misunderstand Earley parser, please tell me. :-P
In Debian, We can disable network interface startup at boot time by remove ``auto'' in front of the name of interface, ``auto eth'', for instance. ( Thanks Chanop )

Tuesday, June 01, 2004

Thanks Singapore Linux User Group. I can use rxvt with xcin by this instruction.

Sunday, May 30, 2004

Debian menu in Progeny seems to be disabled.
I can't type space when I use Garuda font from this package. I don't know how the problem came. Anyway, I try to use new version of Fontforge. It should be easiest way to try.
I installed Progeny Developer Edition. Anaconda worked so smooth. I just choose package for personal computer. It looks just like TLE. The problem was that I can't connect to the Internet so I use Knoppix to grab libwvstream and wvdial. Then, I can use apt-get happily. But xfonts-thai-tff seem to have problem with Progeny because I can find no new fonts when I've installed this package. ( I don't know if it relates to Defoma. ) Anyway, I copy then to ~/.fonts and everythings become okay. I do some xkbmap config and now I can use Thai and Internet from Progeny :-D

Saturday, May 29, 2004

This is Mozilla ICU Patch from OpenTLE. It allows Mozilla to do correct Thai line breaking.
I watched Shrek2 yesterday. It must be very nice movie for leftist. :-D

Friday, May 28, 2004

I like this site about design pattern. It is quite brief.
People recommend me to design my software on paper. Today I try to do it again afer many many fails.
I try to download ISO image of Progeny Linux from here but I can't. I wonder where it has gone.

Thursday, May 27, 2004

I've already implemented ThBrkDict following Theppitak's guildline. It is here.

Wednesday, May 26, 2004

My truely labour work is still last. :-P

  • I try to write Earley parser ( for learning propose ) but it is not finish. Anyway, I understand Earley parser better.

  • LibThai/ThBrk is still in progress. ``th_brk_dict_vee_walk'' has been built as first function. :-P th_brk_dict_vee_init will be next.

  • Hin (OpenTLE's developer) is doing something about Thai spelling checker and MySpell. Good news,isn't it? :-D As mention in his blog.

Tuesday, May 25, 2004


  • Speech synthesis for blinds is interesting. We can use existing framework like Gnompernicus and make Thai backend. Thai backend may not need to be GPL?

  • Earley parsing may help to speed up grammar compacting.

  • I try to contact Ajarn Tawachai about Debian and Burapha Linux. I 'm waiting for response.

  • Fesival's license seems to be original BSDL like. It must be suit software to port to Palm OS.

Monday, May 24, 2004

I can't find Abiword.profile as tf told me. I should ask him. ( I wanna check log and check if uniscribe is enable. )
Abiword 2.1.2 precompiled package for Win32 can't use Thai language yet.

  • Thai character deleting is out of order and make Abiword crash. ( only when Thai font is used. )

  • Word breaking is not performed correctly. ( I don't know if it use uniscribe yet. )

  • I choose Thai language at the first time. It is no Thai dictionary so there are a lot of error report.

Combinatory Categorial Grammar (CCG) is probably related to treebank correction. ( recommended by bact' )

Sunday, May 23, 2004

I wanna have some PDAs to play GTK+ on PDA and QT on PDA.
Moto A768 is a linux-based mobile phone. I've heard it will be launched with English talking dictionary and Thai hand written recognition.

Saturday, May 22, 2004

I can find ISO of Chinese GNU/Linux live CD.

Monday, May 17, 2004


  • I try to search ``Treebank correction'' by Google. It might take big effect to my thesis.

  • I must review LinGO Redwoods. It is treebank that is not the same type as Penn Treebank

  • I still go on modify Libthai/ThBrk. I posted new issue about API on result of word breaking.

  • I installed Sarge to PC at lab today. I try to dist-upgrade from experimental and I failed again so I simply use Sarge.

  • Gaphor can work quite well but it still lack of ability to export to Postscript or Bitmap.

  • I guess that InkScape can't embed fonts to postscript file so I can't see any text in .ps from InkScape.

  • I found that SVG is quite complex so I try to use diacanvas insteads.

Wednesday, May 12, 2004

Back to school. I go on writing my proposal. After I presented my proposal, I have an idea what I wanna add to my document. I experiment grammar compacting too.

Monday, May 10, 2004


  • I can find the Internet connection here in Thamasat Rangsit. Today minister of science and technology came to join the dinner at JSTP camp. He talked about government policy on science.

  • I presented my poster and I found that I should add some important points that are:
    • Text analysis processes that are word segmentation, part-of-speech tagging and parsing by providing example.

    • More complex example of parse tree that can show the propose of parse tree on machine translation.

    • I should talk about text summarization, information extraction and other applications too.

  • I have to implement grammar compacting urgently.

  • I will go back to lab on Wednesday for writing my proposal.

  • I ask myself if there is any concept that is better than concept of nation.

Sunday, May 09, 2004

I 'm going to the camp to I may not be able to connect the Internet for a week.

Saturday, May 08, 2004



  • My English is still very suck so my mentor asks me to write proposal in Thai. Anyway, I will go on write English in this BLOG. If you have any comment, please mail me. I wish it would help me improving my skill.


  • I will return using Thai Latex again because Abiword is still not support Thai language. And OO.o doesn't seem to be in usable state for me. I have experience from my senior project


  • I break my PC again because I try to use apt-get -t experimental dist-upgrade.


  • I try NetBSD. I love its simplicity but powerful package management called pkgsrc


  • I have to demo some of my software at JSTP camp on Monday and Tuesday. I don't think they will prepare GNU/Linux BOX for me. Thus, I burn my wxPython application to CD and make a wish.


  • I have question how can we use and inherit GObject in pygtk. I found this page.


  • I want drawing tools too. And this is gnustep stuff. ( thx nongfai )

Friday, May 07, 2004

Active learning probably help corpus annotating faster. ( thanks bact' ) It is in my reading queue now. I 'm also reading Data-Oriented Language Processing An Overview and try to find why abstract linguistic rules are not enough to account syntax. GATE that is linguistic tool ( I think ) was downloaded to review and compare to minecop. I hope that it can run by gcj and SwingWT
I try to learn to write gnustep-styled makefile by reading this.
By gnustep-styled makefile, we can write portable makefile ( which requires GNUstep )
without using complex tools - automake and autoconf, for instance.
I use GNUstep from its cvs and build by this manual.
We can put some font into $HOME/GNUstep/Library/Fonts as same as $prefix/System/Library/Fonts/ .

Thursday, May 06, 2004

GNUstepWeb is something compatible to WebObjects that bring modularity and object oriented approach to web programming. Things can be done via Objective C and HTML. This is examle of real world web site using GNUstepWeb. ( Thanks Nongfai )
According to Data-Oriented Language Processing, we need large treebank.
Nowaday, Thai Treebank is not availible yet. If it is availible, please tell me.
I think I found suit terms that are ``data oriented parsing'' and ``abstract linguistic rules''.

Wednesday, May 05, 2004

Languages can be categorized into 2 categories that are inflection language and isolate language.
Isolate language presents grammatical structure by word order only but inflection language also presents grammatical structure by word inflection.
I also read Objective C tutorial. Nongfai said that afer use retain, new, alloc, auto, we have to release.
I installed beep-media-player, which is similar to XMMS but use GTK+2.
It works well on my machine but sometimes its widgets has gone.
We have some discussion about word break API of LibThai. We also have code style convention of LibThai too.
In Chinese Penn Treebank, they siad that they would leave case theory, which I still don't know what it is.

Tuesday, May 04, 2004

I wanna try to rotate X11 screen by xrandr and xnest. ( As Thep and Nongfai suggestion. )

Sunday, May 02, 2004

I try to add Thai line breaking to Abiword.
I plan to use Pango. Therefore, I will study about pango-libthai first.


IMHO: LibThai word breaker should not use global variable anymore but it should use struct wrap things instead.
Trie patch for LibThai has been done.
Try to merge wordcut_dict from thaiwordseg project to word break module of LibThai . It should be done by rewriting ``findword'' function in src/thbrk/thbrk.c in LibThai. Anyway, I must ask LibThai maintainer if LibThai should provide API to change dictionary which mean that API of LibThai has to be modified.

Saturday, May 01, 2004

IHMO: First course in programming, we should start with ``if'' and ``goto'' and use Basic or Pascal.
Assembly and C is too complex and too many pitfalls. OOP, structural and functional is complex too. And I think we should postpone learning that concepts. We will map ``while loop'', function call, class concept to ``if'' and ``goto'' so student can understand easier.

Sunday, April 25, 2004

Test Blog