good to know you found the source of the speed issue.

debug & release should work exactly the same. it's likely the arguments you've passed to the decoder are slightly different


On 05/06/2010 02:24, [email protected] wrote:
hello
I am sorry for not return to you . I find that the vs2005 debug setting made it so slow . If i set it with release , the speed as in ubuntu. But the release does not make the correct translation. My translation model is Chinese to English ??which trained in the Ubuntu. And in Ubuntu using it could get the right result . In the vs2005 if I use debug to translation, it could get the English sentence. If i use release to translation, the result is Chinese sentence. Why not translate anything?? The description belowed is my moses.ini and translate commend line.
#########################
### MOSES CONFIG FILE ###
#########################
# input factors
[input-factors]
0
# mapping steps
[mapping]
0 T 0
# translation tables: source-factors, target-factors, number of scores, file
[ttable-file]
0 0 5 E:/corpus/ch-en-50/model/phrase-table.gz
# no generation models, no generation-file section
# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
0 0 3 E:/corpus/english-50.lm

# limit on how many phrase translations e for each phrase f are loaded
# 0 = all elements loaded
[ttable-limit]
20
# distortion (reordering) files
[distortion-file]
0-0 msd-bidirectional-fe 6 E:/corpus/ch-en-50/model/reordering-table.gz
# distortion (reordering) weight
[weight-d]
0.3
0.3
0.3
0.3
0.3
0.3
0.3
# language model weights
[weight-l]
0.5000

# translation model weights
[weight-t]
0.2
0.2
0.2
0.2
0.2
# no generation models, no weight-generation section
# word penalty
[weight-w]
-1
[distortion-limit]
6
Translate commend line??
argv[0]="-i";
argv[1]="E:\\corpus\\test";
argv[2]="-f";
argv[3]="E:\\corpus\\ch-en-50\\model\\moses.ini";//"C:\\Documents and Settings\\Administrator\\????\\test1\\Solution1\\debug\\tuning \\moses.ini <file://test1//Solution1//debug//tuning//moses.ini>";
argv[4]="-include-alignment-in-n-best";
argv[5]="-n-best-list";
argv[6]="E:\\corpus\\n-best-list";
argv[7]="10";
E:\\corpus\\test??
???? ???? ???? ?? ?? ?? ?? ???? ?? ?????? ?? ?? ???????? ?? ?? ??
Release??s result ?? E:\\corpus\\n-best-list??
0 ||| ???? ???? ???? ?? ?? ?? ?? ???? ?? ?????? ?? ?? ?? ???????? ?? ?? ||| d: -4 0 0 0 0 0 0 lm: -1606.33 w: -16 tm: 0 0 0 0 0 ||| -2388.36 ||| 0=0 1=1 2=2 3=3 4=4 5=5 6=6 7=7 8=8 9=9 10=10 11=11 13=12 12=13 14=14 15=15 0 ||| ???? ???? ???? ?? ?? ?? ?? ???? ?? ?????? ?? ???????? ?? ?? ?? ?? ||| d: -4 0 0 0 0 0 0 lm: -1606.33 w: -16 tm: 0 0 0 0 0 ||| -2388.36 ||| 0=0 1=1 2=2 3=3 4=4 5=5 6=6 7=7 8=8 9=9 10=10 12=11 11=12 13=13 14=14 15=15

Debug??s result ?? E:\\corpus\\n-best-list??
0 ||| it is the geochemical map overlay convenient to the often they ||| d: -4 -9.65663 -1.7346 -1.02165 -8.04719 -1.60944 -1.7346 lm: -346.271 w: -11 tm: -10.9094 -24.2213 -4.49981 -4.50459 8.99907 ||| -177.504 ||| 0=0 1=1 2-8=2-4 9=5 10=6 12=7 11=8 13-14=9 15=10 0 ||| it is the geochemical map the overlay convenient to often they ||| d: -6 -9.65663 0 -1.65764 -8.04719 0 -2.24543 lm: -346.794 w: -11 tm: -10.9094 -24.2213 -4.49981 -4.50459 8.99907 ||| -177.706 ||| 0=0 1=1 2-8=2-4 11=5 9=6 10=7 12=8 13-14=9 15=10
Result from Ubuntu is as same as debug.
What is the problem ? Someone could help me ? Thank you very mach!


------------------------------------------------------------------------
?????????????????????????????????????????? <http://ym.163.com/?from=od3>

------------------------------------------------------------------------
?????????????????????????????????????????? <http://ym.163.com/?from=od3>

------------------------------------------------------------------------
?????????????????????????????????????????? <http://ym.163.com/?from=od3>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to