[pet] syntax error

Sergio Roa sergior at coli.uni-sb.de
Tue Feb 27 14:23:29 CET 2007


Hi Yi,

Thanks,  that was the  problem. Now  I am  running the  svn repository
version. However, I am only getting  a complete mrs output of xml type
by using  the option '-mrs=mrx'. I do  not know if I  can actually use
RMRS.

By the way, I wonder if you could give me some clues to understand the
difference between RMRS and MRS.

Cheers,

Sergio.


Am Freitag, 23. Februar 2007 19:26 schrieb Yi Zhang:
> hi Sergio,
>
> which version of pet are you using? if i guessed right, you are probably
> running an old version that does not support the new ME model file format.
> any version later than oct-06 should be able to handle the new format.
>
> Best,
> yi
>
> On 2/23/07, Sergio Roa <sergior at coli.uni-sb.de> wrote:
> > Hello,
> >
> > I am using the following command trying to run some initial tests with
> > pet and
> > I get the following errors:
> >
> > [sergior at elf erg]$ cat ~/input.txt | cheap -limit=10000 -mrs=xml
> > english.grm
> > reading `pet/english.set'... including `pet/common.set'...
> > `pet/global.set'...
> > loading `english.grm' (LinGO (Nov-06)) reading ME model `jhpstg.mem'...
> > syntax
> > error in jhpstg.mem:6.15 - got `6790', expecting `mem' section
> > unexpected character '{' in jhpstg.mem:26.34
> >
> > unexpected character in input
> > 69132 types in 3.5 s
> > (1) `this is a test' [10000] --- 1 (0.01|0.02s) <20:124> (1547.7K) [0.0s]
> > derivation[1] (0):this is a test
> >
> > <rmrs cfrom='-2' cto='-2'>
> > </rmrs>
> >
> > What could be the reason for such syntax error?
> >
> > Thanks,
> >
> > Sergio.

-- 
Sergio Roa Ovalle
http://www.informatik.uni-freiburg.de/~roa




More information about the pet mailing list