add new words to current classes

Sergey Protasov svp at zuzino.net.ru
Tue Jun 12 23:42:13 PDT 2007


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
>
>
>



More information about the SRILM-User mailing list