Bengt Richter wrote: > On Mon, 30 Jan 2006 16:39:51 -0500, Peter Hansen <[EMAIL PROTECTED]> wrote: [...] > > The computer at CMU is pretty good at parsing. You can try it at > http://www.link.cs.cmu.edu/link/submit-sentence-4.html > > Here's what it did with "The horse raced past the barn fell." : > [...]
I suppose we shouldn't torment these programs ... ++++Time 0.03 seconds (81.41 total) Found 10 linkages (6 with no P.P. violations) Linkage 1, cost vector = (UNUSED=0 DIS=2 AND=0 LEN=19) +------Os-----+----------Bs*t---------+-----MVt-----+ +- +-Sp*i-+--Ce--+Sp*i+ +---D*u--+-----R----+--Cr--+--Ss-+--MVb-+ +Mpc+ | | | | | | | | | | | | I.p thought.v I.p saw.v the langauge[?].n that.r Python is.v better.a than in ---Js----+ +---Ds--+ | | the corridor.n Constituent tree: (S (NP I) (VP thought (SBAR (S (NP I) (VP saw (NP (NP the langauge) (SBAR (WHNP that) (S (NP Python) (VP is (ADVP better) (PP (NP than) (PP in (NP the corridor)))))))))))) -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006 www.python.org/pycon/ -- http://mail.python.org/mailman/listinfo/python-list