Dear Moses-support,

 

Maybe my last email had been missed so I re-post it. 

In decoding phase, after finished loading phrase tables, I met this error
message:

 

moses: StaticData.cpp:722: bool StaticData::LoadMapping(): Assertion
`vectorList == previousVectorList || vectorList == previousVectorList + 1'
failed.

 

I think there is something wrong with my config in moses.ini file. 

 

#########################

### MOSES CONFIG FILE ###

#########################

 

# input factors

[input-factors]

0

1

2

 

# mapping steps

[mapping]

0 T 0

1 T 1

0 G 0

 

# translation tables: source-factors, target-factors, number of scores, file


[ttable-file]

0 0 5 /home/thao/Factored_Model/Test3_Lemma-POS/model/phrase-table.0-0

1,2 1,2 5
/home/thao/Factored_Model/Test3_Lemma-POS/model/phrase-table.1,2-1,2

 

# generation models: source-factors, target-factors, number-of-weights,
filename

[generation-file]

1,2 0 2 /home/thao/Factored_Model/Test3_Lemma-POS/model/generation.1,2-0

 

# language models: type(srilm/irstlm), factors, order, file

[lmodel-file]

0 0 3 /home/thao/Factored_Model/Test3_Lemma-POS/TrainingLM/Corpus.words.lm

0 1 5 /home/thao/Factored_Model/Test3_Lemma-POS/TrainingLM/CorpusPOS.lm

0 2 3 /home/thao/Factored_Model/Test3_Lemma-POS/TrainingLM/Corpus.lemma.lm

 

 

# limit on how many phrase translations e for each phrase f are loaded

# 0 = all elements loaded

[ttable-limit]

20

20

0

# distortion (reordering) weight

[weight-d]

0.6

 

# language model weights

[weight-l]

0.1667

0.1667

0.1667

 

 

# translation model weights

[weight-t]

0.2

0.2

0.2

0.2

0.2

0.2

0.2

0.2

0.2

0.2

 

# generation model weights

[weight-generation]

0.3

0

 

# word penalty

[weight-w]

-1

 

[distortion-limit]

6 

 

Could you tell me about this error? 

Thank you very much for your help.

 

Best regards,

Thao.

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to