Search SRILM-USER Archives

Match: Format: Sort by:
Search:

Re: add new words to current classes

From: "Sergey Protasov" <svp at ADDRESS HIDDEN>
Date: Wed, 13 Jun 2007 10:42:13 +0400

Thank you, Andreas, for your answer.

Unfortunately I dont have a good skills in C++ language at the moment.

But I can try to develop some perl script for this idea.

> I agree this would be a useful function to have, but unfortunately it is
> not currently implemented.
> It should be fairly straightforward to do based on the existing code.
>
> You basically  need to load an existing class definition, then create
> singleton classes for the
> new words, and start incremental merging with the number of classes
> limited to the original set.
>
> If you care about this problem you should try to modify ngram-class.cc
> and share the results with
> the rest of us! I'd be happy to give some guidance and review changes if
> you are willing to do the work.
>
> Andreas
>
>
> Andreas
>
>
>

Click here to go to the SRILM home page.