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. SRI in mosesdecoder (koormoosh)
----------------------------------------------------------------------
Message: 1
Date: Fri, 6 Nov 2015 01:04:33 +1100
From: koormoosh <koormoosh@gmail.com>
Subject: [Moses-support] SRI in mosesdecoder
To: moses-support@mit.edu
Message-ID:
<CAN3_CDhyEtP-fJTH6gUb3armu_74Jr9LZHmu4dLjiSnoMyVqCg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I am integrating my LM in mosesdecoder. I started by looking into the
Skeleton files, and the SRI code. Things are clear except for these lines
in SRI.cpp which I cannot wrap my head around them:
ngram[count] = Vocab_None;
....
if (finalState) {
ngram[0] = lmId;
unsigned int dummy;
*finalState = m_srilmModel-
assuming that lmId is the id of the last word of the sequence, I don't
understand the functionality of finalState (probably because I lack the MT
background). I wonder if you could kindly clarify these things if you are
familiar with LM integration, or SRI integration in specific:
*1) why are we adding ngram[count] = Vocab_None*
*2) what is being checked in the if-condition if(finalState),*
*3) what is happenning in: *finalState =
m_srilmModel->contextID(ngram, dummy);*
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151105/af070a14/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 109, Issue 13
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 109, Issue 13"
Post a Comment