[R] Pointwise Mutual Information

pl.rudy at gmail.com pl.rudy at gmail.com
Thu Apr 12 19:12:03 CEST 2012


Hi,

I want to calculate pointwise mutual information between "label" 2-gram, and
words in my corpus "1-gram". Any suggestions  as to how to go about it?

l =label 
w  = word 
C = reference collection

I want to calculate following:

p(w,l| C)
p(w| C)
p(l | C)

--
View this message in context: http://r.789695.n4.nabble.com/Pointwise-Mutual-Information-tp4552486p4552486.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list