weightTfIdf {tm}R Documentation

Weight By Term Frequency Inverse Document Frequency

Description

Weight a term-document matrix by term frequency - inverse document frequency.

Usage

weightTfIdf(m)

Arguments

m a dgCMatrix in term frequency format.

Details

Formally this function is a WeightingFunction with the additional slot Name.

Value

The weighted dgCMatrix.

Author(s)

Ingo Feinerer


[Package tm version 0.3 Index]