Hi all,
I trained BiLM with English-Arabic corpus , & it give better Blue score. But 
when work with different bigger corpus I have this error !! 
target_aligns[tpos].append(spos)IndexError: list index out of range
I have file .ngrams which stopped after small no of lines by this error ??? any 
help plz ?? 

  2015-04-18 00:42:19 INFO: Vocabulary size: 111432015-04-18 00:42:19 INFO: 
Reading vocabulary from ai2.true.ar....................2015-04-18 00:42:19 
INFO: Vocabulary size: 162402015-04-18 00:42:19 INFO: Extracting 
ngramsTraceback (most recent call last):  File 
"/home/marwa/mosesdecoder/scripts/training/bilingual-lm/extract_training.py", 
line 167, in <module>    main()  File 
"/home/marwa/mosesdecoder/scripts/training/bilingual-lm/extract_training.py", 
line 107, in main    ofh)  File 
"/home/marwa/mosesdecoder/scripts/training/bilingual-lm/extract.py", line 74, 
in get_ngrams target_aligns[tpos].append(spos)IndexError: list index out of 
range
 
Marwa N. Refaie

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

Reply via email to