Moses-support Digest, Vol 128, Issue 27

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. SOS-Problem with filter-model-given-input.pl (Despina Mouratidi)
2. Re: SOS-Problem with filter-model-given-input.pl (Hieu Hoang)


----------------------------------------------------------------------

Message: 1
Date: Fri, 23 Jun 2017 09:04:00 +0300
From: Despina Mouratidi <dmouratidi@gmail.com>
Subject: [Moses-support] SOS-Problem with filter-model-given-input.pl
To: moses-support <Moses-support@mit.edu>
Message-ID:
<CAJJG54m0A=iyCvb22kxzrDCcSTNsPC0hiyqrK=N5dNdmtqJOiA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello everyone,
I am trying to filtered my set as follows

cd ~/working
~/mosesdecoder/scripts/training/filter-model-given-input.pl \
filtered-newstest2011 mert-work/moses.ini ~/corpus/newstest2011.true.fr \
-Binarizer ~/mosesdecoder/bin/processPhraseTableMin

But after i got this.

Can't read /working/mert-work/moses.ini at /home/despina/mosesdecoder/
scripts/training/filter-model-given-input.pl line 136.

This is my mert-work/moses.ini

# MERT optimized configuration
# decoder /home/despina/mosesdecoder/bin/moses
# BLEU 0.186802 on dev /home/despina/working/corpus/news-test2008.true.fr
# We were before running iteration 9
# finished ??? 14 ???? 2017 07:54:12 ?? EEST
### MOSES CONFIG FILE ###
#########################

# input factors
[input-factors]
0

# mapping steps
[mapping]
0 T 0

[distortion-limit]
6

# feature functions
[feature]
UnknownWordPenalty
WordPenalty
PhrasePenalty
PhraseDictionaryMemory name=TranslationModel0 num-features=4
path=/home/despina/working/train/model/phrase-table.gz input-factor=0
output-factor=0
LexicalReordering name=LexicalReordering0 num-features=6
type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0
path=/home/despina/working/train/model/reordering-table.wbe-msd-bidirectional-fe.gz
Distortion
KENLM name=LM0 factor=0
path=/home/despina/lm/news-commentary-v8.fr-en.blm.en order=3

# dense weights for feature functions
[weight]

LexicalReordering0= 0.061536 0.0312366 0.0679776 0.100544 0.0571078
0.0366389
Distortion0= 0.0914135
LM0= 0.0877283
WordPenalty0= -0.0882794
PhrasePenalty0= 0.0850377
TranslationModel0= 0.0215993 0.108041 0.102662 0.0601976
UnknownWordPenalty0= 1

Best
Despina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170623/9f01f000/attachment-0001.html

------------------------------

Message: 2
Date: Fri, 23 Jun 2017 12:34:03 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] SOS-Problem with
filter-model-given-input.pl
To: Despina Mouratidi <dmouratidi@gmail.com>, moses-support
<Moses-support@mit.edu>
Message-ID: <8f8b18e4-301b-3f5f-db40-f60477a17dd7@gmail.com>
Content-Type: text/plain; charset="utf-8"

you must use absolute paths. Not

filtered-newstest2011

mert-work/moses.ini

but

/home/despina/whatever/filtered-newstest2011

/home/despina/whatever/mert-work/moses.ini


On 23/06/2017 07:04, Despina Mouratidi wrote:
> Hello everyone,
> I am trying to filtered my set as follows
>
> cd ~/working
> ~/mosesdecoder/scripts/training/filter-model-given-input.pl
> <http://filter-model-given-input.pl> \
> filtered-newstest2011 mert-work/moses.ini
> ~/corpus/newstest2011.true.fr <http://newstest2011.true.fr> \
> -Binarizer ~/mosesdecoder/bin/processPhraseTableMin
>
> But after i got this.
>
> Can't read /working/mert-work/moses.ini at
> /home/despina/mosesdecoder/scripts/training/filter-model-given-input.pl
> <http://filter-model-given-input.pl> line 136.
>
> This is my mert-work/moses.ini
>
> # MERT optimized configuration
> # decoder /home/despina/mosesdecoder/bin/moses
> # BLEU 0.186802 on dev
> /home/despina/working/corpus/news-test2008.true.fr
> <http://news-test2008.true.fr>
> # We were before running iteration 9
> # finished ??? 14 ???? 2017 07:54:12 ?? EEST
> ### MOSES CONFIG FILE ###
> #########################
>
> # input factors
> [input-factors]
> 0
>
> # mapping steps
> [mapping]
> 0 T 0
>
> [distortion-limit]
> 6
>
> # feature functions
> [feature]
> UnknownWordPenalty
> WordPenalty
> PhrasePenalty
> PhraseDictionaryMemory name=TranslationModel0 num-features=4
> path=/home/despina/working/train/model/phrase-table.gz input-factor=0
> output-factor=0
> LexicalReordering name=LexicalReordering0 num-features=6
> type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0
> path=/home/despina/working/train/model/reordering-table.wbe-msd-bidirectional-fe.gz
> Distortion
> KENLM name=LM0 factor=0
> path=/home/despina/lm/news-commentary-v8.fr-en.blm.en order=3
>
> # dense weights for feature functions
> [weight]
>
> LexicalReordering0= 0.061536 0.0312366 0.0679776 0.100544 0.0571078
> 0.0366389
> Distortion0= 0.0914135
> LM0= 0.0877283
> WordPenalty0= -0.0882794
> PhrasePenalty0= 0.0850377
> TranslationModel0= 0.0215993 0.108041 0.102662 0.0601976
> UnknownWordPenalty0= 1
>
> Best
> Despina
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

--
Hieu Hoang
http://moses-smt.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170623/f02b346f/attachment-0001.html

------------------------------

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


End of Moses-support Digest, Vol 128, Issue 27
**********************************************

0 Response to "Moses-support Digest, Vol 128, Issue 27"

Post a Comment