Ken Fasano <kenfasano@...> writes:

> ERROR: parameter '1' does not exist.
> ERROR: Unrecognized attribute :1
> ERROR: parameter '2' does not exist.
> ERROR: Unrecognized attribute :2
> ERROR: parameter '3' does not exist.
> ERROR: Unrecognized attribute :3
> ...
> ERROR: parameter '58527' does not exist.
> ERROR: Unrecognized attribute :58527
> ERROR: parameter '58528' does not exist.
> ERROR: Unrecognized attribute :58528
> ERROR: parameter 'homekfasanoworkingtraincorpusfrvcb' does not exist.
> WARNING: ignoring unrecognized option:  
> /home/kfasano/working/train/corpus/fr.vcb
> Reading vocabulary file from:
> 
> Cannot open vocabulary file fileExit code: 1
> ERROR at /home/kfasano/mosesdecoder/scripts/training/train-model.perl line
1186.
> 
> "parameter 'homekfasanoworkingtraincorpusfrvcb' does not exist." looks 


I got the same error and the cause turned out to be a corrupt snt2cooc.out.
 Recompiling and recopying it to ~/mosesdecoder/tools fixed everything.

More specifically, I corrupted snt2cooc.out by overwriting it with GIZA++. 
I was in a hurry and copied+pasted the following incomplete command

 cp ~/giza-pp/GIZA++-v2/GIZA++ ~/giza-pp/GIZA++-v2/snt2cooc.out

instead of 

 cp ~/giza-pp/GIZA++-v2/GIZA++ ~/giza-pp/GIZA++-v2/snt2cooc.out \
   ~/giza-pp/mkcls-v2/mkcls tools

-Jonathan

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to