When calculating the trigram probability of the first word in a sentence the returned value is the frequency of the trigram plus one, instead of the actual probability. Example:
In [96]: ng.prob("", "", "Í")
Out[96]: 595124.0000000003
In [97]: ng.freq("", "", "Í")
Out[97]: 595123
When calculating the trigram probability of the first word in a sentence the returned value is the frequency of the trigram plus one, instead of the actual probability. Example: