Hi all,

This is to let you know that I found out that my extract.inv.sorted.gz 
had the variables on the right side of the rules in the wrong order 
(source, target instead of target, source), so it was my mistake.

Sorry for the noise!

Cheers
--
Felipe


El 09/02/16 a las 23:30, Felipe Sánchez Martínez escribió:
>
> Hello all,
>
> I am trying to score a set of rules that, even thought they do not come
> from any tree in either the source or the target language, they look
> like those used for string-to-tree SMT. An excerpt of the
> extract.sorted.gz file follows:
>
> King Solomon [X][X0] [X] ||| [X][X0] rey salomón [X0] ||| 0-1 1-2 2-0
> ||| 0.2 |||
> King Solomon [X][X0] [X] ||| [X][X0] rey salomón [X0] ||| 0-1 1-2 2-0
> ||| 0.333333 |||
> King [X] ||| rey [X0] ||| 0-0 ||| 1 |||
> Solomon [X] ||| salomón [X0] ||| 0-0 ||| 1 |||
> [X][X0] mines [X] ||| las minas [X][X0] [X0] ||| 1-0 1-1 0-2 ||| 0.2 |||
> [X][X0] mines [X] ||| las minas [X][X0] [X0] ||| 1-0 1-1 0-2 ||| 0.5 |||
>
> When I try to score these rules to obtain the rule table I get the
> following error:
> ERROR: target phrase does not match in line 1: '' s [X]' != ''
> s [X0]'
> which is produced in the process of consolidating direct and indirect
> rule tables.
>
> Is there any way to overcome this problem other than editing the code to
> avoid the corresponding checking?
>
> PS: I saw a similar question in the archive, but with no answer; see
> http://moses-support.mit.narkive.com/r4NooMQR/score-externally-acquired-phrases
>
> Thanks you very much in advance!!
> Best wishes
>

-- 
Felipe Sánchez Martínez
Dep. de Llenguatges i Sistemes Informàtics
Universitat d'Alacant, E-03071 Alacant (Spain)
Tel.: +34 965 903 400, ext: 2966
http://www.dlsi.ua.es/~fsanchez
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to