Hi all,
I run a phrase-based decoder using a lattice input. Despite warning
messages for a PLF sentence, the decoder outputs the best translation.
$/home/leona/mosesdecoder/moses-cmd/src/moses -v 0 -inputtype 2
-weight-i 0.1 -config tuning/tmp.2/filtered/moses.ini
-i /home00/leona/IWSLT10.zh-en/tuning/input.txt.1.plf
-max-phrase-length 100000
Creating lexical reordering...
weights: 0.300 0.300 0.300 0.300 0.300 0.300
Loading table into memory...done.
/home00/leona/IWSLT10.zh-en/lm/iwslt10.lm.1: line 23: warning:
non-zero probability for <unk> in closed-vocabulary LM
reading bin ttable
size of OFF_T 8
binary phrasefile loaded, default OFF_T: -1
prev: [18446744073709551615..18446744073709551615]
current: [7..7]
A: got a weird distance from 0 to 8 of 1073741823
...
prev: [7..7]
current: [0..0]
B: got a weird distance from 0 to 8 of 1073741823
However, the decoder gives following error for another PLF sentence.
moses: PDTAimp.h:511: void Moses::PDTAimp::CacheSource(const
Moses::ConfusionNet&): Assertion
`static_cast<size_t>(i->first.second-1)<m_rangeCache[i->first.first].size()'
failed.
Here is the backtrace using gdb.
Program received signal SIGABRT, Aborted.
0x00007ffb8d4c2fb5 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffb8d4c2fb5 in raise () from /lib/libc.so.6
#1 0x00007ffb8d4c4bc3 in abort () from /lib/libc.so.6
#2 0x00007ffb8d4bbf09 in __assert_fail () from /lib/libc.so.6
warning: (Internal error: pc 0x4c8c2e in read in psymtab, but
not in symtab.)
#3 0x00000000004c8c2f in Moses::PDTAimp::CacheSource
(this=warning: (Internal error: pc 0x4c8c2e in read in psymtab,
but not in symtab.)
warning: (Internal error: pc 0x4c61a0 in read in psymtab, but
not in symtab.)
warning: (Internal error: pc 0x4c8c2e in read in psymtab, but
not in symtab.)
0x329e680, src=warning: (Internal error: pc 0x4c8c2e in read in
psymtab, but not in symtab.)
@0x34e0ee0) at PDTAimp.h:511
#4 0x00000000004731e2 in
Moses::TranslationSystem::InitializeBeforeSentenceProcessing
(this=0x3298c18, sour...@0x34e0ee0) at TranslationSystem.cpp:113
#5 0x000000000042df85 in Manager (this=0x7fff079a49e0,
sour...@0x34e0ee0,
searchAlgorithm=Moses::Normal, system=<value optimized out>)
at Manager.cpp:62
#6 0x0000000000409e1b in TranslationTask::Run (this=0x329ba20)
at Main.cpp:142
#7 0x0000000000407925 in main (argc=<value optimized out>,
argv=<value optimized out>) at Main.cpp:410
The regression test is fine for both phrase.lattice-surface and
phrase.lattice-distortion.
--
Hwidong Na <[email protected]>
KLE lab, POSTECH, KOREA
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support