[SRILM User List] commands used to build a ML type N-Class

Andreas Stolcke stolcke at icsi.berkeley.edu
Wed Nov 27 10:04:02 PST 2013


On 11/27/2013 12:44 AM, Laatar Rim wrote:
> J'ai déja vu le lien aussi j'ai testé ces commandes :
> ngram-class -vocab vocab_file \
>              -text input_file \
>              -numclasses num \
>              -class-counts output.class-counts \
>              -classes output.classes
> ma question est : pour construire un modèle de langage de type n classe , on a besoin seulement denumclasses (nombre de classes) et à quoi sertreplace-word-with-classes ??
> Merci d'avance pour vos éclaircissement ..

replace-words-with-classes  replaces word labels with class labels, so that you can train a class-level ngram model.
It is described in thetraining-scripts(1)  <http://www.speech.sri.com/projects/srilm/manpages/training-scripts.1.html>  man page.

Andreas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20131127/38d6fd5e/attachment.html>


More information about the SRILM-User mailing list