Tuesday, July 04, 2006

A product from Nectec's codefest (Release)

I played Parsit firefox extension from Group number 3. This may be practical way for machine translation user interface today. :-)

Thanks blaa for helping to install this, thanks everyone in Parsit firefox extension team for developing such a good software and thanks NECTEC for the excellent campaign.


ผมลองเล่น Parsit firefox extension จากกลุ่ม 3 ดู โปรแกรมแบบนี้อาจจะเป็นวิธีที่ดีในทางปฎบัติที่จะสร้าง user interface สำหรับโปรแกรมแปลอัตโนมัติ

ขอบคุณปลาที่สอนลงโปรแกรมนี้ ของคุณทุกคนที่ทำโปรแกรมนี้ ขอบคุณ nectec ที่ทำโครงการดีๆ ขึ้นมา

Screencast: http://vee.pompokoisme.com/screencast/parsit_ff.swf
Its homepage: http://www.softwarebank.org/projects/parsit-cf03/
Release: http://www.softwarebank.org/project/showfiles.php?group_id=59&release_id=69

Monday, July 03, 2006

TIS-620 will be in xchat-gnome combo box.

TIS-620 was added to xchat-gnome's combo box in the svn truck. Thanks xchat-gnome developer(s) and Thep also for making Thai known to FLOSS community.


นักพัฒนาเพิ่ม TIS-620 เข้าไปใน combo box ของ xchat-gnome แล้ว :-) ขอบคุณนักพัฒนาเอ็กซ์แชทโนม และป๋าเทพด้วยที่ให้ภาษาไทยเป็นที่รู้จักในชุมชนซอฟต์แวร์เสรี

http://svn.navi.cx/misc/trunk/xchat-gnome/src/fe-gnome/irc-network.c
http://bugzilla.gnome.org/show_bug.cgi?id=346396

Wednesday, June 28, 2006

Software Engineering

I may need to know more about these 2 words Spiral model and
Agile.

BTW, even spiral model or agile or other might not be useful for the team have common platform or common standard coding or common programming language. -_-!

Saturday, June 24, 2006

Constituents in Link-grammar API

In Link-grammar 4.4.2, the functions in API for handling constituents are omitted. However, Dom has added them these functions to Link-grammar in CVS trunk already. :-) So LinkGrammar4R in its SVN trunk was changed to be compatible with Link-grammar in CVS trunk too.

I'm just waiting for new release of Link-Grammar with the functions for handing constituent in API. Then I will test and release new LinkGrammar4R too.

Wednesday, June 14, 2006

LinkGrammar4R 0.0.2 release

LinkGrammar4R 0.0.2 is tended to conform Link-grammar 4.4.2, which its API has been changed significantly from 4.1.3, for instance, the API were grouped into a single file, the dictionary can be created by only choosing the language rather than selecting each data files. However, some functions for handling phrase structure trees are not included in public API. Thus, in LinkGrammar4R 0.0.2, the functions for phrase structure handling is provided as an option. Moreover, after, discussion in Abiword IRC, there is a hope to add the phrase structure handling functions to public API of Abiword's branch of Link-grammar. :-)

Thank Ken Bloom for informing LinkGrammar4R building on AMD64 and new header file. Thank Uwog and Dom of the Abiword team for suggestion about Link-grammar API.

http://rubyforge.org/projects/linkgrammar4r/



[Thai translation]
LinkGrammar4R 0.0.2 เขียนออกมาเพื่อให้สอดคล้องกับ Link-grammar 4.4.2 ที่ API เปลี่ยนไปอย่างเห็นได้ชัดจากรุ่น 4.1.3 เช่น API จัดให้อยู่ใน header file ไฟล์เดียว dictionary สร้างได้โดยการระบุภาษาแทนที่จะต้องระบุถึงไฟล์ข้อมูลแต่ละไฟล์ อย่างไรก็ตามมีฟังก์ชันสำหรับจัดการต้นไม้โครงสร้างวลีที่ไม่รวมอยู่ใน public API ด้วย ทำให้ฟังก์ชันสำหรับจัดการต้นไม้โครงสร้างวลีใน LinkGrammar4R 0.0.2 เป็นตัวเลือก มากไปกว่านั้นหลังจากการสนทนาใน IRC ของ Abiword ก็มีความหวังว่าฟังก์ชันในการจัดการโครงสร้างวลีจะถูกรวมเข้าใน public API ของ Link-grammar ในกิ่งของ Abiword ด้วย

ขอบคุณ Ken Bloom ที่แจ้งให้ทราบถึงปัญหาในการ build LinkGrammar4R บน AMD64 และ header file ใหม่ ขอบคุณ uwog และ dom แห่งทีม Abiword ที่ให้คำแนะนำเกี่ยวกับ Link-grammar API

http://rubyforge.org/projects/linkgrammar4r/



[I am learning more langauges.]

Saturday, May 27, 2006

A free/open source software with a nice manual


Even for free/open source software, I prefer reading a nice manual. However without a nice manual, I prefer free/open source software. :-P

Friday, May 26, 2006

NLP summer school in Bangkok

There will be a summer school about NLP named "LAICS-NLP Summer School" in Bangkok on 16th-22nd October. As far as I know, it will happen in Kasetsart University and mostly organized by Ajarn Asanee (my advisor).




For me, the topics about syntax and lexical structure are quite intersting. :-)




For more details http://naist.cpe.ku.ac.th/LAICS-NLP/courses_workshop.html

Wednesday, May 17, 2006

Release sources != Open source software

Distributing software without chrage != Free software
Release sources != Open source software

To open source .... but forking is not allow sounds terrible and .... won't be open source software following OSI definition.

Monday, May 15, 2006

Slowly turnaround

Slowly turnaround ~ Riding an elephant to catch a grasshopper (translated from Thai idiom) ?

Friday, May 12, 2006

Better web application video :-)

http://oodt.jpl.nasa.gov/better-web-app.mov


It looks nice. However Turbogears at that time is 0.8, which is quite different from 0.9 that we use today. 0.9 is included authentication, i18 and scaffold too.

Wednesday, April 12, 2006

Free serious MT is coming to town.

Open Logos


In fact, it has come for a while .... since new the lastest release version is 1.0.2.

Friday, April 07, 2006

Dict OS X for French-English dictionary


dictosx_fra_eng
Originally uploaded by veetai.
At the office, I can use Systrans online by http://world.altavista.com for translating French text to English. In fact, I want to read in Thai. However, in English is okay. :-P A free online French-English dictionary can be also accessed at http://www.dict.org/.



At the dorm, there is even no telephone line (for me to connect the internet). Thus a FreeDict package from Debian, which was taken from http://www.freedict.org/ by Debian packager, was obtained by me too. Then I give it you in a zip file for DictOSX. To use this dictionary, DictOSX has to be installed first. Then download this zip. Normally it will be extracted automatically. (Otherwise it can be extracted manually by Stuffit Expander or whatever you like). Finally FreeDict-FRA-ENG.dictosx must be put in /Library/Application Support/Dict OS X. Next time when you start the DictOSX, French-English dictionary should be ready to use. :-)

Monday, March 27, 2006

TextBreak is *moved* back to GNA.org

This morning I took 2 hours for uploading TextBreak family to web server by FTP but it was failed. I don't know exactly why it was failed. The network here was shaped? Cheap web hosting? Anyways, I just moved codes back to Subversion at https://gna.org/projects/textbreak/ and release files there too. This release is not usable yet. Anyways it might be useful for who want to know how it is like.

Sunday, March 26, 2006

TextBreak development strategy


TextBreak development strategy
Originally uploaded by veetai.
This diagram show the development strategy of TextBreak. There 3 sub-projects that are running simultaneously. Since implementation TextBreak in C is pretty difficult. Thus the prototype in Python was built before building fully implementation in C. However, there is some modules have been written in C already. For instance, Dict, which is dictionary in Trie structure. In order to integrate them, Python binding is built. At the last phase, the prototype will be ported into C. :-)

Friday, March 24, 2006

QT4 + Thai word breaking

OB proposes to hack QT4 in order to plug word breaking module,
for instance, LibThai. If there is one who is doing that or interested
in that, please reply him.

http://linux.thai.net/phpbb2/viewtopic.php?t=28034

Machine translation: Bookmark

http://www.cs.cmu.edu/People/ref/mlim/chapter4.html

Tuesday, January 17, 2006

Coling submission deadline is coming soon T_T

Important dates for Coling/ACL 2006

Coling submission deadline is coming soon. From now, I will stop developing annotation tools, posting webboard, posting weblog, watch TV .... bla bla bla ..... until the deadline.

Sunday, January 01, 2006

The LinkGrammar binding for Ruby has been moved to Rubyforge.org

The LinkGrammar binding for Ruby has been moved to Rubyforge.org. http://rubyforge.org/projects/linkgrammar4r/.
Formerly, it was hosted in geocities.com. In order to make it searchable easily, it has been moved. Moreover, rubyforge.org provided SVN, bug tracker, etc, which could support further development.

Monday, November 14, 2005

The client of the English parser service

According to the English parsing service over POX and HTTP that was mentioned in this blog. It seems to miss an important example that is example of client wriiting. So it will be shown here.




require 'net/http'
require 'uri'

res = Net::HTTP.post_form(URI.parse('http://127.0.0.1:8030/parse/'),
{'txt'=>'I love you.'})
print res.body




We can just use standard HTTP lib of any languages. Then the parsing result in XML can be obtained, as shown below.




<result>
<constituent label="S" >
....
....
....
</constituent>
</result>




Easy, isn't it?

English parsing service over POX and HTTP

The Link grammar parser from CMU is freely available and very robust. It has to be used over C API or the command line interface. In order to integrate tools from heterogeneous platforms, most of my tools communicate each others by Plain Old XML ( POX ) and the Hypertext Transfer Protocol ( HTTP ). Hence I write POX and HTTP wrapper for the Link grammar parser by using the Link grammar parser, its Ruby binding and the WEBrick. Moreover the Link grammar parser from Abiword CVS has been adopted because it provides the script for the GNU Building tools and the pkg-config are convenient.



In order to show the way this service work, HTML script below is written.



form1



The script above will generate HTML page, as shown in figure 1 and it send plain text to parsing service. Then parsing service will return parsing result in XML, which is illustrated in figure 2. For real usage, a web browser is replaced by a program with a xml parser and a http client framework.




web1

Figure 1




web2

Figure 2




Now I have a parser service, which is easy (?) to use. So I will step to look at pdf2text. :-)

Saturday, November 12, 2005

Ruby/Link Grammar Binding

This blog entry is out of date. Please visit http://rubyforge.org/projects/linkgrammar4r/ instead.

Since I want to use link grammar parser for some particular tasks and I'm using Ruby language. There is no existing Ruby binding for Link Grammar Parser. Hence I wrote one. It is incomplete but it may be useful for someone who want to make this binding but don't want to start from scratch.

http://www.geocities.com/veetai/ruby-linkgrammar-20051111.tar.gz

The example of using link grammar parsing in Ruby is as follow:

require 'linkgrammar'

dict = LinkGrammar::Dictionary.new("4.0.dict", nil, nil, nil)
sent = LinkGrammar::Sentence.new('I love you.', dict)
opts = LinkGrammar::ParseOptions.new
sent.parse(opts)
linkage = LinkGrammar::Linkage.new(0, sent, opts)
words = linkage.get_words
words.each{|w|
print "w = #{w}\n"
}
cnode = linkage.constituent_tree
print "Root node label = #{cnode.label}\n"



The result:

w = LEFT-WALL
w = I.p
w = love.v
w = you.[?].n
w = RIGHT-WALL
Root node label = S
Freeing dictionary 4.0.dict


P.S. I probably post the update later if I found that this binding is not enough for my tasks :-)

Sunday, August 21, 2005

Phrase Structure Tree Drawer for paper writting




















Tree is defined in XML.













And it was exported to PDF :-)

source code

Converting NSTextStorage to Ruby string for non ASCII

text_storage.string.UTF8String.to_s

Tuesday, August 09, 2005

Text Break: Coding

Aim of Text Break project is to make a universal compact and extensible word segmentation engine for any language.
The main idea is the assumption that every word segmentation software is based on something similar appoach that is
searching shortest path on directed acyclic graph which each node represents a character. However the variant is how
weighted edges are added into graph. In term of extensible, Text Break should be adapted to new langauges and also
new techniques for supported languages. Finally, I start coding it now :-) http://svn.gna.org/viewcvs/textbreak/trunk/textbreak/

Sunday, July 31, 2005

Free Jabber-RPC

Since Jabber-RPC implementation in Java cannot be found
( If it exists, please inform me. ) so I write one and named it
Free Jabber-RPC. It is still in very early experimental state
and only client side is implemented. I steal some codes from Apache XML-RPC Framework and
use Smack heavily but Smack and Apache XML-RPC have different license so I try to keep
every thing that were imported from Apache XML-RPC in Apache Lisence and
lisence new source code as GPL. ( Should I do this? )
I just tested it by sending simple method request to JabberXMLRPC in Python.


Obtain Free Jabber-RPC 20050731

Thursday, July 07, 2005

Shopping Music Online: Mixiclub.com

Mixiclub.com is a website of RS Promotion which is a port for selling ( Thai ) songs online. I conceptually appreciate this service since I can choose to buy a song not an album. Moreover it is quite reasonable price ( 15 Bath for 1 song ). However musics are distributed in WMA format which I need window media player to
listen to music. It is absolutely inconvenient. Is they any GNU/Linux user friendly service availible?

Monday, June 06, 2005

NO, I'm not SCV.

Starcraft can teach people about management. A manager should maximize resource utilization. Anyways, I 'm not marine, not even SCV. Sometimes I think people should play football manager game instead because football manager game is not as real as Starcraft is. :-P

P.S. Just for practising my extremely *POOR* english. Could you do me a favor? Please suggest me about English. Please tell me where my writting is poor. I want to improve myself.

Monday, April 18, 2005

The Attempt to Port RubyCocoa to GNUstep

RubyCocoa seems to be more functional than RIGS. IMHO, to unify Ruby -> GNUstep/Cocoa interface would allow us to write portable GNUstep/Cocoa based program. After trying to build RubyCocoa on GNUstep, I found that there is not NSNetService
and NSDistantObjectRequest on GNUstep. I don't know why they does not exist. By this result, I think I should learn more about about NSProxy. ;-)

Friday, April 08, 2005

Why do we should use Theora instead of *MPEG4* ?

It was painful when we can't read or procude some document or audio or video in format that some people want. MS .doc is one of the example we don't exactly how to encode and decode .doc . Thus, someone try to use open standard for file format. Unfortunately, some open standards suck coz we can't use it freely. We may have to buy its document. However to buy document is not the most terrible. Some open standards are patent which means that we can't not use it freely without permission of its owner. By patent, free/open source software developers in some part of the world can't develope their encoders/decoders and distribute them freely.

MPEG4 is patent technology, isn't it? Is there any of its owners allow us to use MPEG4? IMHO, we should recognise other format that we are allowed to use - Theora ,for instance.

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.