[SRILM User List] missing 3grams

Onur Kuru okuru13 at ku.edu.tr
Sat Sep 28 05:58:14 PDT 2013


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

I got:

\data\
ngram 1=7
ngram 2=7
ngram 3=0

\1-grams:
-0.60206	</s>
-99	<s>	-99
-0.90309	cat	-99
-0.90309	dog	-99
-0.90309	runs	-99
-0.60206	the	-7.356873
-0.90309	walks	-99

\2-grams:
0	<s> the
0	cat walks
0	dog runs
0	runs </s>
-0.30103	the cat
-0.30103	the dog
0	walks </s>

\3-grams:

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


More information about the SRILM-User mailing list