weights {RMeCab} | R Documentation |
Calculates a weighted document-term matrix according to the chosen local and/or global weighting options.
entropy(m, tp=0) localTF(m) localBin(m) localLogTF(m) globalIDF(m, tp=0) globalIDF2(m, tp=0) globalIDF3(m, tp=0) globalNorm(m, tp=0) globalEntropy(m, tp=0) removeInfo (m) mynorm(m, tp=0)
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