weights {RMeCab} | R Documentation |
Calculates a weighted document-term matrix according to the chosen local and/or global weighting options.
entropy(m) localTF(m) localBin(m) localLogTF(m) globalIDF(m) globalIDF2(m) globalIDF3(m) globalNorm(m) globalEntropy(m) removeInfo (m) mynorm(m)
m |
a document-term matrix. |
Returns the weighted textmatrix of the same size and format as the input matrix.
Motohiro ISHIDA ishida.motohiro@gmail.com