weightTf

0th

Percentile

Weight by Term Frequency

Weight a term-document matrix by term frequency.

Usage
weightTf(m)
Arguments
m
A TermDocumentMatrix in term frequency format.
Details

Formally this function is of class WeightingFunction with the additional attributes Name and Acronym.

This function acts as the identity function since the input matrix is already in term frequency format.

Value

The weighted matrix.

Aliases
  • weightTf
Documentation reproduced from package tm, version 0.6-2, License: GPL-3

Community examples

Looks like there are no examples yet.