[SRILM User List] customizing the ngram out put

Andreas Stolcke stolcke at speech.sri.com
Fri Jan 22 07:03:00 PST 2010


On 1/22/2010 6:48 AM, Somayeh Bakhshaei wrote:
> Hello,
>
> ( i must send it with wrong subject, excuse me!!)
>
> i am using this code
>  ./../srilm/bin/i686/ngram -lm my.lm -ppl test -debug 2 > out
>
> but the out put is not in the format i want, is there any solution or 
> i must write a post processing code to change it?
>

Yes, you need to post process the output, typically using some pattern 
matching language like awk or perl.

Andreas

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


More information about the SRILM-User mailing list