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, 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)

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.83 Index]