Class n-grams

Andreas Stolcke stolcke at
Tue Jul 1 09:25:22 PDT 2008

Nikoletta Bassiou wrote:
> I would like to build a class trigram using ngram-class but according 
> to the documentation only class bigram is implemented.
> If this is true, do you know any other way I can build a class 
> trigram? Is there an improvision for extending ngram-class for higher 
> order n-grams (n>3)?
> Nikoletta
The bigram restriction only applies to the statistics used to learn the 
word classes.  Once you have the classes you can apply them to your text 
and build an ngram of any order.


More information about the SRILM-User mailing list