Skip to content

Instantly share code, notes, and snippets.

@jocelynk
jocelynk / gist:19b0e299df9ad9664b5c11754f6e5cf2
Created February 23, 2017 15:02 — 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..