Hi im building an smt web translation system using your given guidelines on
moses home.
It worked fine when I configured moses normally without multi-threading.
But my project requires more faster output, so I configured moses uing
./configure --enable-threads --with-srilm=/opt/tools/srilm
--with-boost=/usr/local/include --with-boost-thread=boost_thread
It does not give any errors, I could even complete all the further steps
and training of the model.
But in the final echo command it shows segemtation fault as given below:
ssp@ubuntu:/opt/tools/moses-scripts/scripts-20120220-2011/training$ cp
/home/ssp/smt/etof/model/moses.ini /home/ssp/smt/etof/model/moses-bin.ini
ssp@ubuntu:/opt/tools/moses-scripts/scripts-20120220-2011/training$ echo
"today is monday" | TMP=/tmp /opt/tools/moses/moses-cmd/src/moses -f
/home/ssp/smt/etof/model/moses.ini
Defined parameters (per moses.ini or switch):
config: /home/ssp/smt/etof/model/moses.ini
distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6
/home/ssp/smt/etof/model/reordering-table.wbe-msd-bidirectional-fe.gz
distortion-limit: 6
input-factors: 0
lmodel-file: 8 0 3 /home/ssp/smt/etof/lm/europarl-v6.lm
mapping: 0 T 0
ttable-file: 0 0 0 5 /home/ssp/smt/etof/model/phrase-table.gz
ttable-limit: 20
weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
weight-l: 0.5000
weight-t: 0.2 0.2 0.2 0.2 0.2
weight-w: -1
Segmentation fault
This is a copy of my moses.ini file:
#########################
### MOSES CONFIG FILE ###
#########################
# input factors
[input-factors]
0
# mapping steps
[mapping]
0 T 0
# translation tables: table type (hierarchical(0), textual (0), binary
(1)), source-factors, target-factors, number of scores, file
# OLD FORMAT is still handled for back-compatibility
# OLD FORMAT translation tables: source-factors, target-factors, number of
scores, file
# OLD FORMAT a binary table type (1) is assumed
[ttable-file]
1 0 0 5 /home/ssp/smt/etof/model/phrase-table.gz
# no generation models, no generation-file section
# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
0 0 3 /home/ssp/smt/etof/lm/europarl-v6.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 wbe-msd-bidirectional-fe-allff 6
/home/ssp/smt/etof/model/reordering-table.wbe-msd-bidirectional-fe.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
please i would appreciate your help!!!
As an alternative way to do web translation should i try creating a
moses-server.
I tried the instructions given in Advanced Features of moses, but could not
implement it.
Thank you in advance.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support