Dear experts,
this is part of my moses.ini:
#########################
### 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
/exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/TM/PhraseTable/phrase-table
# no generation models, no generation-file section
# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
0 0 3
/exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/LM/languageModel.srilm.lm
# limit on how many phrase translations e for each phrase f are loaded
# 0 = all elements loaded
[ttable-limit]
20
0
# distortion (reordering) files
[distortion-file]
0-0 msd-bidirectional-fe 6
/exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/TM/LexicalTable/reordering-
table.msd-bidirectional-fe
........
the folders
/exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/TM/PhraseTable
contains:
1696 -rw-r--r-- 1 enxmt engmath 1722855 Nov 19 11:07 phrase-table.0-0.gz
64 -rw-r--r-- 1 enxmt engmath 36372 Nov 19 11:07
phrase-table.binphr.idx
1696 -rw-r--r-- 1 enxmt engmath 1708400 Nov 19 11:07
phrase-table.binphr.srctree
64 -rw-r--r-- 1 enxmt engmath 63388 Nov 19 11:07
phrase-table.binphr.srcvoc
3264 -rw-r--r-- 1 enxmt engmath 3320904 Nov 19 11:07
phrase-table.binphr.tgtdata
64 -rw-r--r-- 1 enxmt engmath 48806 Nov 19 11:07
phrase-table.binphr.tgtvoc
and /exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/TM/LexicalTable:
736 -rw-r--r-- 1 enxmt engmath 727410 Nov 19 11:07
reordering-table.msd-bidirectional-fe.0.5.0-0.gz
64 -rw-r--r-- 1 enxmt engmath 36372 Nov 19 11:07
reordering-table.msd-bidirectional-fe.binlexr.idx
9184 -rw-r--r-- 1 enxmt engmath 9386896 Nov 19 11:07
reordering-table.msd-bidirectional-fe.binlexr.srctree
2880 -rw-r--r-- 1 enxmt engmath 2925000 Nov 19 11:07
reordering-table.msd-bidirectional-fe.binlexr.tgtdata
64 -rw-r--r-- 1 enxmt engmath 63388 Nov 19 11:07
reordering-table.msd-bidirectional-fe.binlexr.voc0
64 -rw-r--r-- 1 enxmt engmath 48806 Nov 19 11:07
reordering-table.msd-bidirectional-fe.binlexr.voc1
and I call the mert-moses in the following way:
/usr/local/moses/moses/scripts/training/mert-moses.pl../../../DevCorpus//prova.es
../../../DevCorpus//prova.en
/usr/local/moses/bin/moses
/exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/TM/model/moses.ini
--working-dir Dev --rootdir /usr/local/moses/moses/scripts/
and get the same errors that I have shown you in the previous email.
Note: if I call the mert-moses including the gz lexical and phrase table, it
works.
thanks
Marco
On Nov 18, 2007 8:35 PM, Philipp Koehn <[EMAIL PROTECTED]> wrote:
> Hi,
>
> not sure what is going on your error messages, since you did not
> include the moses.ini and the file namess that you are pointing to.
>
> If you use binarized versions of reordering and phrase translation
> table, you do not have to change anything in the configuration file.
> The decoder looks for the binary versions with the default extensions
> (".binphr.*").
>
> -phi
>
> On 11/18/07, marco turchi <[EMAIL PROTECTED]> wrote:
> > Dear experts,
> > I'm trying to run the mert-moses process using a binarized version of
> the
> > phrase table and reordering table, but i got:
> > /usr/local/moses/moses/scripts/training/mert-moses.pl
> > ../../../DevCorpus//prova.es ../../../DevCorpus//prova.en
> > /usr/local/moses/bin/moses
> > /exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/TM/model/moses.ini
> > --working-dir Dev --rootdir /usr/local/moses/moses/scripts/
> > After default: -l mem_free=0.5G -hard
> > Using SCRIPTS_ROOTDIR: /usr/local/moses/moses/scripts/
> > moses.ini:15:File does not exist or empty:
> >
> /exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/TM/PhraseTable/phrase-table
> > moses.ini:21:Filename not absolute: LM/languageModel.srilm.lm
> > moses.ini:31:File does not exist or empty:
> >
> /exports/gpfs/enxmt/Moses/WorkingFolder/testFolder/0/TM/LexicalTable/reordering-
> table.msd-bidirectional-fe
> > SYNC distortionchecking weight-count for ttable-file
> > checking weight-count for lmodel-file
> > checking weight-count for distortion-file
> >
> > can i run it on the binarized moses.ini version??
> > the strange things is that when I run moses it is able to get both of
> them
> > without problem.
> >
> > thanks a lot
> > Marco
> >
> >
> > _______________________________________________
> > Moses-support mailing list
> > [email protected]
> > http://mailman.mit.edu/mailman/listinfo/moses-support
> >
> >
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support