Hi Bingo.
No need for bold. :)
I think I experimented with the same as you and got the _M_range_check
due to the PhraseDictionaryCompact, not LexicalReordering.
Try with basename's extension here:
PhraseDictionaryCompact ...
path=/home/fubin/moses/work/compact/phrase-table.minphr
and without basename's extension here:
LexicalReordering ...
path=/home/fubin/moses/work/compact/reordering-table
Also, what version of Boost are you using?
On 02/06/2015 01:50 PM, 付彬 wrote:
Hi everyone:
* I have a problem when I use the moses to decoder. I followed
http://www.statmt.org/moses/?n=Moses.Baseline to build up baseline. In
addition, I had edited the moses.ini and changed the path of
phrase-table and reordering-table without its suffix, but it didn’t
work. I had done all the solution that mentioned on
https://www.mail-archive.com/[email protected]/msg11543.html, but
the problem is still existed. I’m very confused.*
* Here is my test command and failed result:*
fubin@nlp15:~/moses$ mosesdecoder/bin/moses -f work/compact/moses.ini
Defined parameters (per moses.ini or switch):
config: work/compact/moses.ini
distortion-limit: 6
feature: UnknownWordPenalty WordPenalty PhrasePenalty
PhraseDictionaryCompact name=TranslationModel0 table-limit=20
num-features=4 path=/home/fubin/moses/work/compact/phrase-table
input-factor=0 output-factor=0 LexicalReordering
name=LexicalReordering0 num-features=6
type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0
path=/home/fubin/moses/work/compact/reordering-table Distortion KENLM
lazyken=0 name=LM0 factor=0
path=/home/fubin/moses/lm/europarl.fr-en.blm.en order=3
input-factors: 0
mapping: 0 T 0
threads: 8
weight: LexicalReordering0= 0.0731976 0.0443935 0.131823
0.197196 0.0838931 0.090232 Distortion0= 0.015492 LM0= 0.0688113
WordPenalty0= -0.0638317 PhrasePenalty0= 0.0644346 TranslationModel0=
0.0220868 0.05336 0.0751734 0.016075 UnknownWordPenalty0= 1
line=UnknownWordPenalty
FeatureFunction: UnknownWordPenalty0 start: 0 end: 0
line=WordPenalty
FeatureFunction: WordPenalty0 start: 1 end: 1
line=PhrasePenalty
FeatureFunction: PhrasePenalty0 start: 2 end: 2
line=PhraseDictionaryCompact name=TranslationModel0 table-limit=20
num-features=4 path=/home/fubin/moses/work/compact/phrase-table
input-factor=0 output-factor=0
FeatureFunction: TranslationModel0 start: 3 end: 6
line=LexicalReordering name=LexicalReordering0 num-features=6
type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0
path=/home/fubin/moses/work/compact/reordering-table
FeatureFunction: LexicalReordering0 start: 7 end: 12
Initializing LexicalReordering..
line=Distortion
FeatureFunction: Distortion0 start: 13 end: 13
line=KENLM lazyken=0 name=LM0 factor=0
path=/home/fubin/moses/lm/europarl.fr-en.blm.en order=3
FeatureFunction: LM0 start: 14 end: 14
Loading UnknownWordPenalty0
Loading WordPenalty0
Loading PhrasePenalty0
Loading LexicalReordering0
Loading table into memory...Exception: vector::_M_range_check
Best regards
Bingo
_______________________________________________
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