Moses-support Digest, Vol 101, Issue 21

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: mert-moses.pl (Rico Sennrich)
2. Re: Compiling Moses Decoder v3.0 using Visual Studio 2010
(Hieu Hoang)
3. Re: Eclipse (Hieu Hoang)
4. Re: compilation problems with the last version of moses
(Kenneth Heafield)
5. Re: compilation problems with the last version of moses (Tom Hoar)


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

Message: 1
Date: Fri, 6 Mar 2015 11:11:53 +0000 (UTC)
From: Rico Sennrich <rico.sennrich@gmx.ch>
Subject: Re: [Moses-support] mert-moses.pl
To: moses-support@mit.edu
Message-ID: <loom.20150306T121013-130@post.gmane.org>
Content-Type: text/plain; charset=utf-8

mohamed hasanien <mhmd_hasnen@...> writes:

>
>
> HI all,

> Line 4739: Collecting options took 0.562 seconds at moses/Manager.cpp:117
> sh: line 1: 13550 Killed ? ? ? ? ? ? ? ? ?/mhmd/mosesdecoder/bin/moses
-config filtered/moses.ini -weight-overwrite 'PhrasePenalty0= 0.043478
WordPenalty0= -0.217391 T$
> Exit code: 137
> The decoder died. CONFIG WAS -weight-overwrite 'PhrasePenalty0= 0.043478
WordPenalty0= -0.217391 TranslationModel0= 0.043478 0.043478 0.043478
0.043478 Distortion0= 0.$
>
> can any one told me what is the problem and how i can solve it?
>

Hi Mohamed,

it looks like your process got the kill signal. One way this happens is if
you run out of RAM - did you check if your system fits into memory?

best w?????)I??((



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

Message: 2
Date: Fri, 06 Mar 2015 11:46:48 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Compiling Moses Decoder v3.0 using Visual
Studio 2010
To: Muhammad Danial Raza <muhammad.danial.raza@gmail.com>,
moses-support@mit.edu
Message-ID: <54F993A8.5090006@gmail.com>
Content-Type: text/plain; charset="windows-1252"

the visual studio files are out of date and don't work anymore. There
may be some other people who are interested in maintaining it, if you
are able to get it working please consider sending me the changes and
i'll add it back to the repository.

If no-one wants to maintain it anymore, i will delete them to avoid
confusion

On 05/03/2015 14:03, Muhammad Danial Raza wrote:
> Hello all,
>
> We are implementing machine translation for one of our application and
> after some research we chose Moses to use. Our application is coded in
> C# .NET. I am facing problems to compile the Moses decoder using *VS
> 2010*.
>
> The steps I followed to compile:
>
> * Downloaded *Moses Release 3.0* from GitHub
> * Downloaded *Boost 1.55* and compiled it.
> * Opened 'moses.sln' located at 'mosesdecoder/contrib/other-builds"
> * On building the solution received many errors "No such File or
> Directory", removed that by changing the source file paths in
> '.vcprojx' and then changing the 'library' and 'include' paths in
> project properties.
> * Now, have succesfully built 'moses', 'kenlm' and 'OnDiskPt'
> project of the solution and generated '.lib' of these projects.
> * But when I built 'moses-cmd' I received errors "unresolved
> external symbol". After some research I found out that this is
> because of the fact that 'moses.sln' contains files from some very
> old version of Moses and therefore either some referenced files of
> the current release are missing from the 'moses' project or have
> different name in the current release.
> * Now for about two days, I am trying to resolve these issues by
> adding the referenced files, but the problem is that each time I
> add a file some errors are removed and some new errors are added
> of some other referenced files. Moreover, I am not able to remove
> some of these errors because the referenced files are already part
> of the solution.
>
> We cannot move to linux for decoding because we don't have a linux
> server to deploy the decoder. Any help as to how can I compile the
> decoder using VS (be it by removing the errors or by building a
> solution file from scratch) would be highly appreciated.
>
> In case, if anyone have some queries or need some files to peek into
> the current situation feel free to ask for it.
>
> Thanks & Regards,
> Muhammad Danial Raza
>
>
> _______________________________________________
> 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/20150306/bc49f302/attachment-0001.htm

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

Message: 3
Date: Fri, 06 Mar 2015 11:48:37 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Eclipse
To: Winston Yuen <luuyuen@gmail.com>, moses-support@mit.edu
Message-ID: <54F99415.2070805@gmail.com>
Content-Type: text/plain; charset="windows-1252"

I think it's quite difficult to get Moses running with android or IOS
because of the different architectures and memory constraints.

I have a prototype decoder for Android I'm developing. If you're
interested, please message me and we can work something out

On 03/03/2015 12:22, Winston Yuen wrote:
> How to compile Moses for IOS or Android? Only Eclipse project with
> Moses work for Linux
>
>
> _______________________________________________
> 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/20150306/e3ca0877/attachment-0001.htm

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

Message: 4
Date: Fri, 06 Mar 2015 08:40:30 -0500
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] compilation problems with the last
version of moses
To: moses-support@mit.edu
Message-ID: <54F9AE4E.9090605@kheafield.com>
Content-Type: text/plain; charset=windows-1252

Hi,

Those are unit test failures. And that's worrying.

moses/ScoreComponentCollectionTest.cpp(135): error in "sparse_feature":
check scc.GetScoreForProducer(&sparse,"first") == 1.3f failed [0 !=
1.29999995]
moses/ScoreComponentCollectionTest.cpp(136): error in "sparse_feature":
check scc.GetScoreForProducer(&sparse,"second") == 2.1f failed [0 !=
2.0999999]
moses/ScoreComponentCollectionTest.cpp(139): error in "sparse_feature":
check scc.GetScoreForProducer(&sparse,"first") == -1.9f failed [0 !=
-1.89999998]
moses/ScoreComponentCollectionTest.cpp(141): error in "sparse_feature":
check scc.GetScoreForProducer(&sparse,"first") == -3.8f failed [0 !=
-3.79999995]

Does a fresh build with -a solve anything? This is a 64-bit x86
machine, right? Since you're on Ubuntu, why not try the
distribution-provided Boost

sudo apt-get install build-essential libboost-all-dev zlib1g-dev
libbz2-dev liblzma-dev

Kenneth

On 03/06/2015 03:55 AM, Arezki Sadoune wrote:
> Hello All
>
> I have some problems compiling the last moses on Ubuntu 12.04.5.
>
> -When compiling moses alone: ./bjam the issues encountered are :
>
> ...failed testing.unit-test
> moses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/moses_test.passed...
> testing.unit-test
> mert/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/bleu_scorer_test.passed
>
> ...failed testing.unit-test
> mert/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/vocabulary_test.passed...
>
>
> -when I try to compile with boost_1_55_0 et CMPH-2.0
> ./bjam --with-cmph=/root/tools/cmph-2.0/ --with-boost=/root/tools/boost_1_55_0
> the errors preventing moses compiling are in the log file attached
>
> Cheers
>
>
> Arezki SADOUNE
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>


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

Message: 5
Date: Fri, 06 Mar 2015 20:49:20 +0700
From: Tom Hoar <tahoar@precisiontranslationtools.com>
Subject: Re: [Moses-support] compilation problems with the last
version of moses
To: moses-support@mit.edu
Message-ID: <54F9B060.6070304@precisiontranslationtools.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Also, your Ubuntu 12.04 is quite old. Could it's old libboost libraries
might be conflicting with your custom build? If possible, try updating
your host to 14.04.



On 03/06/2015 08:40 PM, Kenneth Heafield wrote:
> Hi,
>
> Those are unit test failures. And that's worrying.
>
> moses/ScoreComponentCollectionTest.cpp(135): error in "sparse_feature":
> check scc.GetScoreForProducer(&sparse,"first") == 1.3f failed [0 !=
> 1.29999995]
> moses/ScoreComponentCollectionTest.cpp(136): error in "sparse_feature":
> check scc.GetScoreForProducer(&sparse,"second") == 2.1f failed [0 !=
> 2.0999999]
> moses/ScoreComponentCollectionTest.cpp(139): error in "sparse_feature":
> check scc.GetScoreForProducer(&sparse,"first") == -1.9f failed [0 !=
> -1.89999998]
> moses/ScoreComponentCollectionTest.cpp(141): error in "sparse_feature":
> check scc.GetScoreForProducer(&sparse,"first") == -3.8f failed [0 !=
> -3.79999995]
>
> Does a fresh build with -a solve anything? This is a 64-bit x86
> machine, right? Since you're on Ubuntu, why not try the
> distribution-provided Boost
>
> sudo apt-get install build-essential libboost-all-dev zlib1g-dev
> libbz2-dev liblzma-dev
>
> Kenneth
>
> On 03/06/2015 03:55 AM, Arezki Sadoune wrote:
>> Hello All
>>
>> I have some problems compiling the last moses on Ubuntu 12.04.5.
>>
>> -When compiling moses alone: ./bjam the issues encountered are :
>>
>> ...failed testing.unit-test
>> moses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/moses_test.passed...
>> testing.unit-test
>> mert/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/bleu_scorer_test.passed
>>
>> ...failed testing.unit-test
>> mert/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/vocabulary_test.passed...
>>
>>
>> -when I try to compile with boost_1_55_0 et CMPH-2.0
>> ./bjam --with-cmph=/root/tools/cmph-2.0/ --with-boost=/root/tools/boost_1_55_0
>> the errors preventing moses compiling are in the log file attached
>>
>> Cheers
>>
>>
>> Arezki SADOUNE
>>
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support



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

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


End of Moses-support Digest, Vol 101, Issue 21
**********************************************

0 Response to "Moses-support Digest, Vol 101, Issue 21"

Post a Comment