<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:12pt"><div>Hello</div><div>I am getting confused about the models that ngram-count make:</div><div>ngram-count -order 2  -write-vocab vocabulary.voc -text mytext.txt   -write model1.bo<br>ngram-count -order 2  -read model1.bo -lm model2.BO</div><div><br></div><div>forexample: (the text is very large and these words are just a sample)<br></div><div><br></div><div>in model1.bo:</div><div>cook   14 <br></div><div>cook was 1</div><div><br></div><div>in model2.BO:</div><div>-1.904738  cook was </div><div><br></div><div>my question is that the probability of 'cook was' bigram should be log10(1/14), but ngram-count result shows: log(1/80)== -1.9047</div><div>how is these probabilities computed?</div><div><br></div><div><br></div><div></div></div></body></html>