[Fwd: SRILM]
ilya oparin
ioparin at yahoo.co.uk
Sun Jun 17 22:52:50 PDT 2007
Hi, J.
You can use class-ngram (see manpages) to generate
classes from text automatically. Two files, class
count (standard N-gram file with class labels as
units) and class definition (telling you class
assignments for words) files are generated. Use those
to train LMs with ngram-count as usual, you need just
to add -classes option to refer to the
class-definition file.
If you want to use classes of your own, it's a bit
more tricky, since you have to take care of correct
class-definition file forming.
regards,
Ilya
--- Andreas Stolcke <stolcke at speech.sri.com> wrote:
>
> Anyone can give J. some pointers on how to build
> class-based LMs?
>
> Andreas
>
> > Date: Sat, 16 Jun 2007 16:20:18 +0530 (IST)
> Subject: SRILM
> From: "J.Sashank" <sashank at cse.iitb.ac.in>
> To: stolcke at speech.sri.com
>
> Sir,
> I am undergraduate student studying in IIT
> Bombay . I am working on a
> research project which involves trigram model.I want
> to use
> class-based trigram model but I cannot find its the
> usage in the SRILM
> package . Can you please tell me about the usage of
> the package for
> this model.
>
> Thanking You,
>
> J.Sashank
> Junior Undergraduate
> Computer Science and Engineering
> IIT Bombay
>
>
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/
More information about the SRILM-User
mailing list