[SRILM User List] missing 3grams

Andreas Stolcke stolcke at icsi.berkeley.edu
Sat Sep 28 09:31:28 PDT 2013


On 9/28/2013 7:58 AM, Onur Kuru wrote:
> I got confused with the LM file I had.
> In the data section it says you have *0* 3grams although as you can 
> see from the training corpus I have *6* 3-grams.
> Therefore I don't have the conditional probabilities in *\3-grams 
> *section.
>
> Here is my training corpus:
> <s> the dog runs </s>
> <s> the cat walks </s>
>
> When I run the command:
> ngram-count -text training.gz -lm training.lm.gz -order 3 -gt1max 0 
> -gt2max 0 -gt3max 0
you need -gt3min 1

Andreas

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


More information about the SRILM-User mailing list