There doesn't seem to be anything wrong with the 1st 3 lines. However, one
of the lines may have the | char. 

There's no escape character in moses so u just have to manually change it to
another char. It's best to do this in the corpus, before your create the
phrase table

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mark Fishel
Sent: 06 May 2008 18:26
To: [email protected]
Subject: [Moses-support] phrase table syntax error

Dear Support team,

I am getting the following error line when running moses on a particular
model:

Syntax error at
/home/smt/results/temp/model/phrase-table.1,2,3-1,2,3.gz:1Aborted

the first 3 lines of the phrase table are (g-unzipped):

&aste|risk;|- ||| -|12|- ||| (0) ||| (0) ||| 0.0666667 0.0666667 1 1 2.718
-|"|- -|.|- ||| -|"|- -|.|- ||| (0) (1) ||| (0) (1) ||| 0.666667
0.48991 0.4 0.276722 2.718
-|"|- -|.|- ||| -|"|- -|;|- ||| (0,1) (1) ||| (0) (0,1) ||| 0.333333
0.00598613 0.2 0.0148136 2.718

The phrase table was generated by the train-factored-phrase-model.perl
script. Is it any of the non-alpha characters? Kind of lost here, tried
other factor translation/generation schemes, etc.

Lookind forward to any response,

Mark Fishel
Univ. of Tartu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to