weights {RMeCab}R Documentation

Weighting Matrix (Matrices) options

Description

Calculates a weighted document-term matrix according to the chosen local and/or global weighting options.

Usage

    entropy(m)
    localTF(m)
    localBin(m)
    localLogTF(m)
    globalIDF(m)
    globalIDF2(m)
    globalIDF3(m)
    globalNorm(m)
    globalEntropy(m)
    removeInfo (m)
    mynorm(m)

Arguments

m a document-term matrix.

Value

Returns the weighted textmatrix of the same size and format as the input matrix.

Author(s)

Motohiro ISHIDA ishida.motohiro@gmail.com


[Package RMeCab version 0.71 Index]