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: Moses-support post from jasneet.sabharwal@sfu.ca requires
approval (Hieu Hoang)
2. Re: IRSTLM (Matthias Huck)
3. Re: Building Moses on El Capitan? (Jake Ballinger)
----------------------------------------------------------------------
Message: 1
Date: Wed, 20 Jan 2016 00:39:13 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Moses-support post from
jasneet.sabharwal@sfu.ca requires approval
To: Jasneet Sabharwal <jasneet.sabharwal@sfu.ca>
Cc: moses-support <moses-support@mit.edu>
Message-ID: <569ED731.4050203@gmail.com>
Content-Type: text/plain; charset="windows-1252"
I believe Nadir Durrani's OSM uses KenLM inside it. You can look in
moses/FF/OSM-Feature
for tips
On 20/01/16 00:31, Jasneet Sabharwal wrote:
> Thanks Hieu.
>
> One last question. What do you think is the best way to load the SRILM
> language model inside my custom feature function and to get a score
> for a string that my feature function created?
>
> Best,beli
> Jasneet
>> On Jan 17, 2016, at 3:45 AM, Hieu Hoang <hieuhoang@gmail.com
>> <mailto:hieuhoang@gmail.com>> wrote:
>>
>>
>>
>> On 17/01/16 04:05, Jasneet Sabharwal wrote:
>>> Thanks Hieu,
>>>
>>> I had subscribed to the mailing list and I?m getting the digest, but
>>> not sure why my email went for your approval. When I get the
>>> alignments from GetAlignTerm(), the index of the source word is
>>> relative? To get the index in the source sentence, I?m assuming that
>>> I would need to get the starting position of the source words from
>>> CurrSourceWordsRange().GetStartPos() from current hypothesis and
>>> offset the source alignment index with that value?
>> yep. And to get the index in the target sentence, use
>> GetCurrTargetWordsRange().GetStartPos()
>>>
>>> Regards,
>>> Jasneet
>>>> On Jan 15, 2016, at 3:43 AM, Hieu Hoang <hieuhoang@gmail.com> wrote:
>>>>
>>>> please subscribe to the Moses mailing list before posting to it.
>>>> You can subscribe here:
>>>> http://mailman.mit.edu/mailman/admin/moses-support
>>>> To answer you question - the target phrase has a method called
>>>> GetAlignTerm()
>>>> that contains the alignment for terminals. This comes from the
>>>> phrase-table, and ultimately from the word alignment.
>>>>
>>>> -------- Forwarded Message --------
>>>> Subject: Moses-support post fromjasneet.sabharwal@sfu.carequires
>>>> approval
>>>> Date: Wed, 13 Jan 2016 23:36:50 -0500
>>>> From: moses-support-owner@mit.edu
>>>> To: moses-support-owner@mit.edu
>>>>
>>>>
>>>>
>>>> As list administrator, your authorization is requested for the
>>>> following mailing list posting:
>>>>
>>>> List:Moses-support@mit.edu
>>>> From:jasneet.sabharwal@sfu.ca
>>>> Subject: Getting alignments for current hypothesis in phrase based model
>>>> Reason: Post by non-member to a members-only list
>>>>
>>>> At your convenience, visit:
>>>>
>>>> http://mailman.mit.edu/mailman/admindb/moses-support
>>>>
>>>> to approve or deny the request.
>>>>
>>>>
>>>>
>>>> <ForwardedMessage.eml><ForwardedMessage.eml>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> Moses-support@mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>> --
>> Hieu Hoang
>> http://www.hoang.co.uk/hieu
>
--
Hieu Hoang
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20160119/7f1e77e8/attachment-0001.html
------------------------------
Message: 2
Date: Wed, 20 Jan 2016 02:05:42 +0000
From: Matthias Huck <mhuck@inf.ed.ac.uk>
Subject: Re: [Moses-support] IRSTLM
To: Hieu Hoang <hieuhoang@gmail.com>, Ouafa Benterki
<obenterki@gmail.com>, moses-support@mit.edu
Message-ID: <1453255542.9181.4.camel@inf.ed.ac.uk>
Content-Type: text/plain; charset="UTF-8"
Hi,
I believe that the "~" might be the culprit. Try:
./bjam --with-irstlm=/home/mty2015/Public/MTEngine/Moseshome/mosesdecoder/irstlm
(If this is the correct absolute path to your IRSTLM installation.)
Cheers,
Matthias
On Wed, 2016-01-20 at 00:32 +0000, Hieu Hoang wrote:
> it's likely there was an error when you compiled irstlm as the irstlm
> library cannot be found.
>
> can i ask - why do you need IRSTLM? for most cases, KenLM is faster.
> It's built into Moses so there's no external libraries you have to
> compile
>
> On 20/01/16 00:27, Ouafa Benterki wrote:
> > Hi ,
> >
> > Please find enclosed attached the build log, here's the command i
> > run
> > ./bjam--with-irstlm=~/Public/MTEngine/Moseshome/mosesdecoder/irstlm
> >
> > best
> >
> > Ouafa
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------
Message: 3
Date: Tue, 19 Jan 2016 21:21:33 -0500
From: Jake Ballinger <ballingerj@allegheny.edu>
Subject: Re: [Moses-support] Building Moses on El Capitan?
To: moses-support@mit.edu
Message-ID:
<CA+5d++jc-fZFB7k2gA5qQxNrAd81jcei5ms6Woj8xkHVUQ33Eg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Thanks for the quick reply.
Adding the pyconfig.h file to my classpath seems to have solved the
problem; running b2 doesn't throw any errors and I am no longer getting
errors about missing pyconfig.h.
But I'm still getting errors with Moses. I used this
command: /usr/local/bin/bjam
--with-boost=/Users/ballingerj/cscomp-ballingerj/mosesdecoder/build/boost/boost_1_59_0/
toolset=clang
Thanks again!
On Tue, Jan 19, 2016 at 2:11 PM, Hieu Hoang <hieuhoang@gmail.com> wrote:
> ps. it looks like your boost compiled failed
>
>
> On 19/01/16 18:59, Hieu Hoang wrote:
>
> I built on Yosemite ok a few months ago.
>
> If anyone has a copy of El Capitan I can download please let me know. I
> installed linux on my macbook and forgot to grab a copy
>
> Hieu Hoang
> http://www.hoang.co.uk/hieu
>
> On 19 January 2016 at 18:55, Jake Ballinger <ballingerj@allegheny.edu>
> wrote:
>
>> Hello,
>>
>> I'm trying to build Moses on OS X El Capitan and I can't seem to get it
>> right. I've attached my build log, and the last command I used was: ./bjam
>> toolset=clang
>> --with-boost=~/Users/ballingerj/cscomp-ballingerj/mosesdecoder/build/boost/boost_1_59_0/tools/build/.
>>
>> I think the problem has to with the Darwin on El Capitan, but I cannot
>> say so for sure.
>>
>> Thank you!
>>
>> --
>> Jake Ballinger
>> Major: Computer Science
>> Minors: Chinese, French, Spanish, & Math
>> 443-974-6184
>> <ballingerj@allegheny.edu>ballingerj@allegheny.edu
>> Box 582
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
> --
> Hieu Hoanghttp://www.hoang.co.uk/hieu
>
>
--
Jake Ballinger
Major: Computer Science
Minors: Chinese, French, Spanish, & Math
443-974-6184
ballingerj@allegheny.edu
Box 582
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20160119/e34bbe07/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.gz
Type: application/x-gzip
Size: 4501 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20160119/e34bbe07/attachment.gz
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 111, Issue 62
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 111, Issue 62"
Post a Comment