[SRILM User List] Perl client-server with SWIG and SRILM
Andreas Stolcke
stolcke at speech.sri.com
Wed Jun 23 06:33:24 PDT 2010
Manuel Alves wrote:
> Hi people.
> I am writing my thesis and i have a question.
> Why the log prob of the unigram "Foi" is diferent from the sentence "Foi"?
The sentence probility is computed as
log P(Foi | <s>) + log P(</s> | Foi <s>)
so the difference is the probability of the end-of-sentence, as well as
the conditioning on start-of-sentence (if you are using bigrams or
longer ngrams).
Andreas
> Help me please.
> Manel.
>
> On Wed, May 12, 2010 at 12:18 PM, Manuel Alves <beleira at gmail.com
> <mailto:beleira at gmail.com>> wrote:
>
> Hi people.
> I am using SRILM to build a language model.
> But i want to use the client-server architecture that comes with
> SRILM.
> I want to use SWIG to make the interface to Perl as a module and
> then use it.
> What is the C++ or C module of the SRILM that i have to get into
> the interface?
> Can somebody help me?
>
> Thanks,
> Manel
>
>
More information about the SRILM-User
mailing list