class-based language model

Martha Yifiru marthayifiru at
Wed Sep 13 03:04:51 PDT 2006

Hi all,

Is there a tutorial or introduction on how to develop a class-based (where classes are induced automatically by ngram-class) language model? I thought that ngram-class is used to induce classes automatically and then the language model training and evaluation follow using ngram-count and ngram, respectively. Thus used the following command:
    ngram-class -debug 2 -text textfile.txt  -class-counts classcount_file                 -classes input_to_ngram

But the result is not similar with my expectation. It was giving me even perplexity values.

Would you please give me some ideas on how to develop class-based language model?

Waiting from you, I remain.


Martha Yifiru Tachbelie
Sedanstrasse 24
20146 Hamburg
Tel. +49 40 52721540
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the SRILM-User mailing list