I am following the instructions at http://cs.jhu.edu/~ccb/joshua/ to
train Joshua on the Europarl corpus for the translation from English
to Spanish.
Having extracted the grammar rules, now I am trying to run MERT, but I
get the following error:
----------------------------------------------------
Initializing...
----------------------------------------------------
Random number generator initialized using seed: 12341234
Exception in thread "main" java.util.InputMismatchException
at java.util.Scanner.throwFor(Scanner.java:840)
at java.util.Scanner.next(Scanner.java:1461)
at java.util.Scanner.nextDouble(Scanner.java:2387)
at joshua.zmert.MertCore.processParamFile(MertCore.java:1564)
at joshua.zmert.MertCore.initialize(MertCore.java:305)
at joshua.zmert.MertCore.main(MertCore.java:3046)
Z-MERT exiting prematurely (MertCore returned 1)...
I guess it has something to do with the params file but I do not know
which is the problem.
My params file
----------------------
lm ||| 1.000000 Opt 0.1 +Inf +0.5 +1.5
phrasemodel pt 0 ||| 1.066893 Opt -Inf +Inf -1 +1
phrasemodel pt 1 ||| 0.752247 Opt -Inf +Inf -1 +1
phrasemodel pt 2 ||| 0.589793 Opt -Inf +Inf -1 +1
wordpenalty ||| -2.844814 Opt -Inf +Inf -5 0
normalization = absval 1 lm
Thanks you very much in advance for your help.
Regards
--
Felipe
> --
> You received this message because you are subscribed to the Google Groups "Joshua technical support" group.
> To post to this group, send email to joshua_t...@googlegroups.com.
> To unsubscribe from this group, send email to joshua_technic...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joshua_technical?hl=en.
>