Search SRILM-USER Archives

Match: Format: Sort by:
Search:

Re: [Fwd: SRILM]

From: ilya oparin <ioparin at ADDRESS HIDDEN>
Date: Mon, 18 Jun 2007 06:52:50 +0100 (BST)

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 ADDRESS HIDDEN> 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 ADDRESS HIDDEN>
> To: stolcke at ADDRESS HIDDEN
>
> 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/

Click here to go to the SRILM home page.