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. library not found for -lboost_thread error on MacOS
(Shreya Sharma)
2. Re: ~/mosesdecoder/bin/processPhraseTableMin: No such file or
directory (Sainik Kumar Mahata)
----------------------------------------------------------------------
Message: 1
Date: Thu, 24 Sep 2020 18:41:19 +0530
From: Shreya Sharma <shreyas.cd.ece17@iitbhu.ac.in>
Subject: [Moses-support] library not found for -lboost_thread error on
MacOS
To: moses-support@mit.edu
Message-ID:
<CAAi28g7ebRcWgYUP6tD+et6SxPtUJkRpe32JYRF9naWPEdhWkQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
While compilation on MacOS, I get the following error
clang-darwin.link
moses/LM/bin/BackwardTest.test/clang-darwin-4.2.1/release/link-static/threading-multi/BackwardTest
ld: library not found for -lboost_thread
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-lboost_thread seems to work on linux but not mac. The solution is using
-lboost_thread-mt instead as pointed out here
<https://github.com/facebook/redex/issues/292> or using the flag
BOOST_LIB_SUFFIX=-mt
Please let me know about how to incorporate this into Jamroot file or some
other file to overcome the error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20200924/90e3ed59/attachment-0001.html
------------------------------
Message: 2
Date: Thu, 24 Sep 2020 21:01:52 +0530
From: Sainik Kumar Mahata <sainik.mahata@gmail.com>
Subject: Re: [Moses-support] ~/mosesdecoder/bin/processPhraseTableMin:
No such file or directory
To: Dhar <dhar1707069@stud.kuet.ac.bd>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CA+vEDJNKe4HQ5JFG0bV_o1any533ZHW4fpdwHrMR79K6kiVySw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Dear Argha,
I urge you to do a fresh installation of moses by following the steps in
the attached text file. Just copy and paste the steps one by one and I
think you will be good to go. Kindly reply back if you face any other
issues.
@moses-support: I don't know whether I am supposed to answer or not. If
not, kindly excuse as I am not familiar with the rules of the forum.
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
09/24/20,
08:58:28 PM
On Thu, Sep 24, 2020 at 6:09 PM Dhar <dhar1707069@stud.kuet.ac.bd> wrote:
>
>
> *From: *Dhar <dhar1707069@stud.kuet.ac.bd>
> *Sent: *Thursday, September 24, 2020 6:30 PM
> *To: *Hieu Hoang <hieuhoang@gmail.com>
> *Subject: *RE: [Moses-support] Training The Translation System
>
>
>
> Hi,
>
>
>
> I have successfully completed the previous step according to your
> direction and now I have reached to 2.3.7 : TESTING .
>
> In this part , I got the following error
> ?~/mosesdecoder/bin/processPhraseTableMin: No such file or directory? as
> already mentioned in the manual . The I downloaded cmph-2.0.2.tar.gz *from
> a website . Then I wrote the following command :*
>
> * tar zxvf cmph-2.0.2.tar.gz*
>
>
>
>
>
> *after that I copied cmph-2.0.2 in the following directory:*
>
>
>
> *Then I directed to cmph-2.0.2 directory and wrote the following commands
> :*
>
> * ./configure*
>
> * make*
>
> * sudo make install*
>
> * sudo make installcheck*
>
> * (Commands I wrote according to a website)*
>
>
>
>
>
>
>
> *The I went back to ? home/dhar/smt/mosesdecoder? and wrote the following
> command:*
>
> * ./bjam --with-cmph=/home/dhar/smt/mosesdecoder/tools/cmph-2.0*
>
>
>
>
>
> *It took about 40 minutes . then again when I tried to wrote the command
> of ?2.3.7 TESTING? , the following error occurs again( *?~/mosesdecoder/bin/processPhraseTableMin:
> No such file or directory? ) . Basically the steps I followed didn?t create
> any ?processPhraseTableMin? file.
>
>
>
>
>
> At this point, please help me out . In addition , I am very new in Ubuntu
> . So I will request you to describe what to do to solve this problem in an
> elaborate way .
>
>
>
>
>
> Thanking,
>
> Argha Dhar
>
>
>
>
>
>
>
>
>
> *From: *Hieu Hoang <hieuhoang@gmail.com>
> *Sent: *Wednesday, September 23, 2020 9:30 AM
> *To: *Dhar <dhar1707069@stud.kuet.ac.bd>; moses-support@mit.edu
> *Subject: *Re: [Moses-support] Training The Translation System
>
>
>
> 1. don't use ~, fully specify the path.
>
> 2. copy the mgiza or giza++ executables and scripts to
> ~/mosesdecoder/tools. This is what i have in my directory
>
> ~/workspace/local/training-tools$ll
>
> total 12
>
> drwxrwxr-x 2 s0565741 users 4096 Jul 23 2017 ./
>
> drwxr-xr-x 8 s0565741 users 4096 May 28 09:26 ../
>
> lrwxrwxrwx 1 s0565741 users 72 Jul 23 2017 merge_alignment.py ->
> /home/s0565741/workspace/github/mgiza/mgizapp/script
>
> s/merge_alignment.py*
>
> lrwxrwxrwx 1 s0565741 users 55 Jul 23 2017 mgiza ->
> /home/s0565741/workspace/github/mgiza/mgizapp/bin/mgiza*
>
> lrwxrwxrwx 1 s0565741 users 55 Jul 23 2017 mkcls ->
> /home/s0565741/workspace/github/mgiza/mgizapp/bin/mkcls*
>
> lrwxrwxrwx 1 s0565741 users 58 Jul 23 2017 snt2cooc ->
> /home/s0565741/workspace/github/mgiza/mgizapp/bin/snt2cooc*
>
> I recommend using mgiza rather than giza++
>
> On Thu Sep 17,20 6:13 PM, Dhar wrote:
>
> Hello,
>
>
>
> This is my first email?.so if I ask anything wrong , please treat with
> consideration
>
>
>
>
>
> I am following moses manual . I have done everything successful upto the
> section 2.3.4 : LANGUAGE MODEL TRAINING . But in 2.3.5 : TRAINING THE
> TRANSLATION SYSTEM I wrote the following code :
>
>
>
>
>
> mkdir ~/working
>
> cd ~/working
>
> nohup nice ~/mosesdecoder/scripts/training/train-model.perl -root-dir
> train \
>
> -corpus ~/corpus/news-commentary-v8.fr-en.clean
>
> \
>
> -f fr -e en -alignment grow-diag-final-and -reordering
> msd-bidirectional-fe \
>
> -lm 0:3:$HOME/lm/news-commentary-v8.fr-en.blm.en:8
>
> \
>
> -external-bin-dir ~/mosesdecoder/tools >& training.out &
>
>
>
>
>
>
>
> Then I text file named ?training.out? created in /home/dhar/working/ and
> this file gave me following message:
>
>
>
> ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in
>
> /home/rbehnam/mosesdecoder/external-bin-dir.
>
> You MUST specify the parameter -external-bin-dir at
>
> /home/rbehnam/mosesdecoder/scripts/training/train-model.perl line 491.
>
>
>
>
>
> Best Regards,
>
> Argha Dhar
>
> Bachelor of Science in Computer Science and Engineering,
>
> Khulna University of Engineering & Technology
>
> Bangladesh
>
>
>
>
>
>
>
> _______________________________________________
>
> Moses-support mailing list
>
> Moses-support@mit.edu
>
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
> --
>
> Hieu Hoang
>
> http://statmt.org/hieu
>
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
--
Regards,
Mr. Sainik Kumar Mahata
Visvesvaraya Ph.D Fellow
Jadavpur University
Contact: +91-9038141146
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20200924/6e489e8c/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2E3EFC72730C44E4AA11B053D22BBDD5.jpg
Type: image/jpeg
Size: 131107 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20200924/6e489e8c/attachment.jpg
-------------- next part --------------
*moses install steps*
sudo apt install -y g++ git subversion automake libtool zlib1g-dev libicu-dev libboost-all-dev libbz2-dev liblzma-dev python-dev graphviz imagemagick make cmake libgoogle-perftools-dev autoconf doxygen
git clone https://github.com/zvelo/cmph.git
cd cmph
./configure
make
sudo make install
git clone https://github.com/moses-smt/mgiza.git
cd mgiza/mgizapp/
cmake .
make
make install
git clone https://github.com/moses-smt/mosesdecoder.git
cd mosesdecoder/
./bjam --with-cmph=/path/to/cmph/ -j8
mkdir tools
cp ../mgiza/mgizapp/bin/* tools/
cp ../mgiza/mgizapp/scripts/merge_alignment.py tools/
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 167, Issue 6
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 167, Issue 6"
Post a Comment