Chinese words in "replace-words-with-classes"

王秋锋 wqfengnlpr at gmail.com
Wed Oct 29 18:18:30 PDT 2008


Hi,  When I used the Chinese word class file in the
"replace-words-with-classes",
the word file failed to replaced by the class name.
this is my class format:
CLASS-0512 0.000286 天知
CLASS-0512 0.004003 因势利导
CLASS-0512 0.002574 防患于未然
CLASS-0512 0.000095 落体定律
....
it has about 285K lines , every line has one word,
and about 1K classes.
I'm sure all the word in the word file are in this class file.
The command is :
replace-words-with-classes classes=<cls> <word file> > <class file>

Thank you.

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


More information about the SRILM-User mailing list