[SRILM User List] disambig with Class-based n gram

Reham Al-Majed reham.imamu at gmail.com
Mon Mar 5 07:17:15 PST 2012


Hello ,,
>
> I've built class based n-gram by :
>
> 1- define my classes
> 2- use replace-words-with-classes
> 3- use ngram-count to estimate the LM
>
> I want to use this class based n gram model with disambig tool ,, The
> options (-factored and -count-lm) interpret the LMs as factored and count
> based LMs ... What about class-based ?  How to tell disambig to interpret
> the LM as a class-based ?
>
> I'm trying to use my class-based as an original n-gram model, however the
> output for sample test seems strange ... words in the test sample are
> always disambiguated using the last word in the mapping file !
>
>  Actually I want the words be disambiguated using the LM probabilities
> only without considering the probabilities in the mapping file.. I use the
> options -lmw 1 and -mapw 0 but the output still the same ...
>
>
> In short my questions are :
>
> 1- Is it possible to use class-based n gram with disabmig tool ? Or should
> I build my own disambiguator  using  the output of ngram tool ?
>
> 2- How to make disambig tool use the probabilities of LM ONLY ?
>
> Your help is really greatly appreciated ...
>
> Thanks in Advance ,
> Reham
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20120305/dc10141c/attachment.html>


More information about the SRILM-User mailing list