COMMAND :
$JOSHUA/bin/pipeline.pl --rundir experiments/1 --readme "Baseline Hoshua En-Hi Translation System" --corpus input/train --tune input/tune --test input/test --aligner berkeley --lmfile train.lm.hi --no-corpus-lm --source en --target hi When i opened
tail -f tune/1/joshua.log Input 347: Parse failure (either no derivations exist or pruning is too aggressive
Input 347: Translation took 0.002 seconds
Memory used after sentence 347 is 58.9 MB
Input 348: <s> he switched on the ridiculous little box by the window and tried in vain to find music you could dance a few steps to </s>
the goal_bin does not have exactly one item
Input 348: Parse failure (either no derivations exist or pruning is too aggressive
Input 348: Translation took 0.001 seconds
Memory used after sentence 348 is 59.9 MB
Input 349: <s> karma yoga </s>* Decoder: fatal uncaught runtime exception on sentence 349: null
java.lang.NullPointerException
at joshua.corpus.Vocabulary.isNonterminal(Vocabulary.java:203)
at joshua.corpus.Vocabulary.getNonterminalIndices(Vocabulary.java:216)
at joshua.decoder.chart_parser.NonterminalMatcher.getAllNonterminalIndicesExceptForGoalAndOOV(NonterminalMatcher.java:65)
at joshua.decoder.chart_parser.NonterminalMatcher.createNonterminalMatcher(NonterminalMatcher.java:75)
at joshua.decoder.chart_parser.Chart.<init>(Chart.java:136)
at joshua.decoder.DecoderThread.translate(DecoderThread.java:116)
at joshua.decoder.Decoder$DecoderThreadRunner.run(Decoder.java:225)
Can someone help me Please .
Questions
1 . What is this Parse Failure and it happens in most of the line
tune/1/joshua.log ?
2 . In my
tune.en file
, the content at line no 350 is <s> karma yoga </s> and at
tune.hi file the content at line no 350 is <s> karma yoga </s> . But in the log file , it is showing at input 349 . Can this be the problem for Null pointer Exception ?