tag:blogger.com,1999:blog-6832719.post113173145741910071..comments2008-03-31T00:55:29.419+07:00Comments on VEE SATAYAMAS: Ruby/Link Grammar Bindingveerhttp://www.blogger.com/profile/06771165466118347444noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-6832719.post-80600028894511212192008-03-31T00:55:00.000+07:002008-03-31T00:55:00.000+07:00you're welcome and sorry for an out-of-date entryyou're welcome and sorry for an out-of-date entryveerhttp://veer.myopenid.com/noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-40913848252888594712008-03-31T00:47:00.000+07:002008-03-31T00:47:00.000+07:00Ah! That's the trick. Thanks!Ah! That's the trick. Thanks!Grahamhttp://www.blogger.com/profile/17331214964326005447noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-2248092237816249112008-03-30T19:57:00.000+07:002008-03-30T19:57:00.000+07:00Did you try the example in SVN?Did you try the example in SVN?veerhttp://veer.myopenid.com/noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-70900427314350884032008-03-30T18:46:00.000+07:002008-03-30T18:46:00.000+07:00Tried the Rubyforge version, tried the svn-head. S...Tried the Rubyforge version, tried the svn-head. Same error. Anything else I could try?Grahamhttp://www.blogger.com/profile/17331214964326005447noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-85870446801690336132008-03-28T23:55:00.000+07:002008-03-28T23:55:00.000+07:00please use ruby-linkgrammar from http://rubyforge...please use ruby-linkgrammar from http://rubyforge.org/projects/linkgrammar4r/ (svn-head must be better)<BR/><BR/>I haven't seen link grammar in Thai.veerhttp://veer.myopenid.com/noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-31214714244009627322008-03-28T13:19:00.000+07:002008-03-28T13:19:00.000+07:00Btw, have you (or somebody else) developed a dicti...Btw, have you (or somebody else) developed a dictionary/grammar for Thai?Grahamhttp://www.blogger.com/profile/17331214964326005447noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-1428248152806402942008-03-28T13:10:00.000+07:002008-03-28T13:10:00.000+07:00I installed link-grammar v.4.3.4 from source off t...I installed link-grammar v.4.3.4 from source off the AbiWord site, and I'm using:<BR/><BR/>ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]Grahamhttp://www.blogger.com/profile/17331214964326005447noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-69647563538545711992008-03-28T12:39:00.000+07:002008-03-28T12:39:00.000+07:00How did you install link-grammar? Which version of...How did you install link-grammar? Which version of Ruby/Link Grammar do you use?veerhttp://www.blogger.com/profile/06771165466118347444noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-66084076385450853072008-03-28T12:34:00.000+07:002008-03-28T12:34:00.000+07:00It seems to install okay, but I get a segmentation...It seems to install okay, but I get a segmentation fault on: <BR/><BR/>sent = LinkGrammar::Sentence.new('I love you.', dict)<BR/><BR/>I'm running ruby 1.8 on ubuntu 7.10 with LinkGrammar 4.3.<BR/><BR/>Any ideas?wtfhttp://www.blogger.com/profile/17331214964326005447noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-37531495441606776012007-10-13T02:20:00.000+07:002007-10-13T02:20:00.000+07:00Works great. I needed that for parsing noun phrase...Works great. <BR/>I needed that for parsing noun phrases like 'italian composer', 'man of taste', 'cool cat'.<BR/><BR/>Parsing such phrases resulted in the following error:<BR/><BR/><B>Linkage index is out of range</B><BR/><BR/>So i added a pre a post tag so that it would parse correctly.<BR/><BR/>Now if i search for: "<B>minimalist programmer</B>" it would return:<BR/><BR/><I><BR/>w = LEFT-WALL<BR/>w = _p_[?].v<BR/>w = minimalist[?].a<BR/>w = programmer.n<BR/>w = _p_[?].n<BR/>w = RIGHT-WALL<BR/>Root node label = S<BR/></I><BR/><BR/>Unfortunately, doesn't seem to work in all cases. For instance, searching for '<B>painter from france</B>' would result in the same <I>Linkage index is out of range</I> error...<BR/><BR/>Any idea?Ngumawww.nguma.comnoreply@blogger.comtag:blogger.com,1999:blog-6832719.post-12841738278691157652007-10-13T00:05:00.000+07:002007-10-13T00:05:00.000+07:00Did you see something like "checking for pkg-confi...Did you see something like "checking for pkg-config... no"? if yes, It may be <A HREF="http://www.codenone.com/node/416" REL="nofollow">this</A>.veerhttp://www.blogger.com/profile/06771165466118347444noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-53418286411852891182007-10-12T23:43:00.000+07:002007-10-12T23:43:00.000+07:00When i try runningruby extconf.rbi get this messag...When i try running<BR/><BR/>ruby extconf.rb<BR/><BR/>i get this message:<BR/><BR/>Could not create Makefile due to some reason, probably lack of<BR/>necessary libraries and/or headers. Check the mkmf.log file for more<BR/>details. You may need configuration options.ngumanoreply@blogger.comtag:blogger.com,1999:blog-6832719.post-1150197577923502072006-06-13T18:19:00.000+07:002006-06-13T18:19:00.000+07:00The name of this implementation is LinkGrammar4R a...The name of this implementation is LinkGrammar4R and the project is at http://rubyforge.org/projects/linkgrammar4r/ .veehttp://www.blogger.com/profile/18374925632496251508noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-1144727038172929532006-04-11T10:43:00.000+07:002006-04-11T10:43:00.000+07:00I've also been looking to play around with the lin...I've also been looking to play around with the link parser, and just started playing with ruby, so this binding is great news for me! Also, I tried the above mentioned implementations and had only limited success. The all-ruby implementations are either incomplete or just plain not working and this is the only recent binding written that I could find.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6832719.post-1134892760555491152005-12-18T14:59:00.000+07:002005-12-18T14:59:00.000+07:00Michael Granger: Thank you for giving me informati...Michael Granger: Thank you for giving me information. I searched for the binding at RAA. So I found only http://raa.ruby-lang.org/project/linkparser/<BR/><BR/>I will add this implementation to RAA in order to make it visible to people as you suggested.veehttp://www.blogger.com/profile/18374925632496251508noreply@blogger.comtag:blogger.com,1999:blog-6832719.post-1133716126690730592005-12-05T00:08:00.000+07:002005-12-05T00:08:00.000+07:00You say that there "is no existing binding". Where...You say that there "is no existing binding". Where did you search for previous binding? I'm curious because yours is the third implementation of it for Ruby that I know of, and I'd like to figure out how to make the existing ones (including yours) more visible to people so we can stop re-implementing the same things over and over, or at least figure out what's missing from previous implementations.<BR/><BR/>I worked on the first implementation with a friend of mine, and gave up on using the C code because it had horrendous memory-leak issues. The way it was written (5 years ago, at least) precludes your from ever freeing links that you've parsed when the Ruby objects which wrap them are destroyed. I haven't looked at the code for quite some time -- have they fixed that bit?<BR/><BR/>Anyway, if you search for 'link grammar' on <A HREF="http://raa.ruby-lang.org/" REL="nofollow">the RAA</A>, you would find:<BR/><BR/> <A HREF="http://raa.ruby-lang.org/project/linkparser/" REL="nofollow">http://raa.ruby-lang.org/project/linkparser/</A><BR/><BR/>Searching for postings about it on ruby-talk, the english-language Ruby mailing list, you'd find <A HREF="http://groups.google.com/group/comp.lang.ruby/msg/06eeee4dd951d0c0?dmode=source" REL="nofollow">this post</A>, which is a different binding written some years later.<BR/><BR/>Anyway, I'm looking forward to trying out your code. Thanks for writing it!Michael Grangerhttp://www.deveiate.org/noreply@blogger.com