Skip to content

Instantly share code, notes, and snippets.

@dgotrik
dgotrik / gist:fffdffd6ac755b1c2b545a5895fc5bbd
Created May 22, 2017 16:51 — forked from ttezel/gist:4138642
Natural Language Processing Notes

#A Collection of NLP notes

##N-grams

###Calculating unigram probabilities:

P( wi ) = count ( wi ) ) / count ( total number of words )

In english..