Hi all, 
Still the dictionary problem.
I went through the giza++ code and find there's a parameter "-d",
so I add it to my command line. 
Also, I changed the variable "useDict " from false to true.
Then, i recompiled and aother problem came.

There's log info like:
Parameter 'd' changed from '' to 'ck.txt-utf8' 
d = ck.txt-utf8  (dictionary file name) 
so, the dictionary part may be right.

the error info is:
ERROR: parameter 'coocurrencefile' does not exist.
  2 WARNING: ignoring unrecognized option:  -CoocurrenceFile
  3 ERROR: parameter 'koreanchinesecooc' does not exist.
  4 WARNING: ignoring unrecognized option:  korean-chinese.cooc
  5 Reading vocabulary file from:chinese.vcb
  6 Reading vocabulary file from:korean.vcb

I got confused, for the script I wrote works well without this -d option.
I don't know what caused this problem.
I hope somebody can check it for me.

here's my command line:
./GIZA++ \
  5 -CoocurrenceFile korean-chinese.cooc \
  6 -c korean-chinese-int-train.snt \
  7 -m1 5 -m2 0 -mh 5 -m3 3 -m4 3 \
  8 -model1dumpfrequency 1 \
  9 -model2dumpfrequency 1 \
 10 -model345dumpfrequency 1 \
 11 -hmmdumpfrequency 1 \
 12 -model4smoothfactor 0.4 \
 13 -nbestalignments 1 \
 14 -onlyaldumps 0 \
 15 -nodumps 0 \
 16 -nsmooth 4 \
 17 -d ck.txt-utf8 \
 18 -o korean-chinese \
 19 -onlyaldumps 1 \
 20 -p0 0.999 \
 21 -s chinese.vcb \
 22 -t korean.vcb

Thanks in advance.

2009-12-22 



Best regards,

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

Reply via email to