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. Re: ConstrainedDecoding error (Hieu Hoang)
2. Re: issues about registering of new feature (Hieu Hoang)
3. Re: An error when compiling moses (Hieu Hoang)
4. Re: problem with loading binarized rule -table (Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Wed, 24 Dec 2014 23:33:22 +0530
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] ConstrainedDecoding error
To: "f.fancellu" <astromantic3@gmail.com>, moses-support@mit.edu
Message-ID: <549AFFEA.7000501@gmail.com>
Content-Type: text/plain; charset="windows-1252"
specify the absolute, full path to the reference file
On 24/12/14 22:13, f.fancellu wrote:
> Hi,
>
> I have the get the following error when applying the
> ConstrainedDecoding feature in my Config file (attached to the present
> mail).
>
> Exception: moses/FF/ConstrainedDecoding.cpp:66 in virtual void
> Moses::ConstrainedDecoding::Load() threw util::Exception'.
>
> Reference file not loaded
>
> I don't understand why this is happening. The path inserted is correct
> (file in the same folder).
>
> The command I run is:
>
> ~/mosesdecoder/bin/moses_chart -drop-unknown -threads 12 -f
> nist08.filtered.ini.13.v2 -T ../traces/nist_08.neg_ref.trace -osg
> ../graphs/nist_08.neg_ref.graph < ../doc/nist_08.src > ../trans/output_fd
>
> Cheers!
>
> F.
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20141224/636d8277/attachment-0001.htm
------------------------------
Message: 2
Date: Wed, 24 Dec 2014 23:39:23 +0530
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] issues about registering of new feature
To: feng.x.q.2006@gmail.com, moses-support@mit.edu
Message-ID: <549B0153.9050700@gmail.com>
Content-Type: text/plain; charset="windows-1252"
it should work. Can I have a look at the moses-nnjm.ini file. Also,
recompile everything, just in case
./bjam -j4 -a
On 24/12/14 11:38, Xiaoqiang Feng wrote:
> Hi, all
>
> I want to add a new stateful feature function to moses. This new
> feature is neural network joint model which is proposed
> in "Fast and robust neural network joint models for statistical
> machine translation (ACL 2014)".
>
> I added two files "NNJMStatefulFF.h, NNJMStatefulFF.cpp" into moses/FF
> directory. And I have modified the Factory.cpp with
> adding two lines code: "#include "moses/FF/NNJMStatefulFF.h;
> MOSES_FNAME2("NNJM", NNJMStatefulFF);".
> I recompile the whole project in moses root with command "./bjam -j4",
> and the result showed "SUCCESS".
>
> Then I want to test the NNJM feature, here I just want to test to see
> whether this new feature works, which means I don't want to tuning the
> parameter of NNJM. So I modefied the moses.ini with adding the NNJM
> feature and run the command "~/home1/mosesdecoder/bin/moses -f
> moses-nnjm.ini". But it did not work, the information is as follow:
> "Exception: moses/FF/Factory.cpp:275 in void
> Moses::FeatureRegistry::Construct(const string&, const string&) threw
> UnknownFeatureException because `i == registry_.end()'.
> Feature name NNJM is not registered."
>
> I want to know how can I register this new feature. Do I need to retrain
>
> Thanks,
> Xiaoqiang Feng
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20141224/6b79acb8/attachment-0001.htm
------------------------------
Message: 3
Date: Wed, 24 Dec 2014 23:47:26 +0530
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] An error when compiling moses
To: Amon Moc? Rodolphe BAZONGO <amonmoce@yahoo.fr>,
"moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <549B0336.20702@gmail.com>
Content-Type: text/plain; charset="windows-1252"
there has been a change in IRSTLM which makes old version of irstlm
incompatible with new moses, and new irstlm incompatible with old moses.
The best way to compile with IRSTLM is to use the latest IRSTLM
http://sourceforge.net/projects/irstlm/files/latest/download
and the latest Moses from github
On 19/12/14 10:01, Amon Moc? Rodolphe BAZONGO wrote:
> Hi. I follow the tutorial on this link
> http://www.statmt.org/moses_steps.html and I have an error when I run
> the command that compiles moses:
> ./bjam --with-srilm=/home/.../srilm --with-irstlm=/home/.../irstlm --with-giza=/home/.../bin -j2
>
> Thanks for support.
>
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20141224/f6dd0e15/attachment-0001.htm
------------------------------
Message: 4
Date: Wed, 24 Dec 2014 23:53:25 +0530
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] problem with loading binarized rule
-table
To: Arefeh Kazemi <arefeh_kazemi@yahoo.com>, Moses-support
<moses-support@mit.edu>
Message-ID: <549B049D.4030008@gmail.com>
Content-Type: text/plain; charset="windows-1252"
you have to change
PhraseDictionaryMemory
to
PhraseDictionaryOnDisk
On 18/12/14 14:25, Arefeh Kazemi wrote:
> Hi everybody
>
> I'm trying to tune hiero model in moses with this command:
>
>
> nohup nice ~/mosesdecoderCode/scripts/training/mert-moses.pl
> ~/datasets/m-tune.en ~/datasets/m-tune.fa \
> ~/mosesdecoderCode/bin/moses_chart --decoder-flags="-threads all"
> train/model/moses.ini --no-filter-phrase-table --mertdir
> ~/mosesdecoderCode/bin/ --nbest=100 > mert.out
>
> I use --no-filter-phrase-table option because I have a binary rule
> table which is made by this command:
> /home/mosesdecoderCode/bin/CreateOnDiskPt 1 1 5 20 2
> train/model/rule-table.gz train/model/rule-table-binary
>
> (the binary rule table was made without any error and its size is 7G )
>
> and I updated my moses.ini file with my binary rule table:
> PhraseDictionaryMemory name=TranslationModel0 num-features=4
> path=/home/experiments/16dec/train/model/rule-table-binary
> input-factor=0 output-factor=0
>
>
> the tuning step raise this error up:
>
> Exception: util/file.cc:152 in std::size_t util::PartialRead(int,
> void*, std::size_t) threw FDException because `ret < 0'.
> Is a directory in
> /home/akazemi/experiments/16dec/train/model/rule-table-binary while
> reading 6 bytes in file
> /home/akazemi/experiments/16dec/train/model/rule-table-binary
> Exit code: 1
> The decoder died. CONFIG WAS -weight-overwrite 'PhrasePenalty0=
> 0.057143 WordPenalty0= -0.285714 TranslationModel0= 0.057143 0.057143
> 0.057143 0.057143 TranslationModel1= 0.285714 LM0= 0.142857'
>
> is there anything wrong with this commands?
>
> Thanks a lot!
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20141224/8417b787/attachment.htm
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 98, Issue 58
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 98, Issue 58"
Post a Comment