term.statistics: Compute some useful corpus statistics for a dtm

Description Usage Arguments Value

Description

Compute a number of useful statistics for filtering words: term frequency, idf, etc.

Usage

1

Arguments

dtm

a document term matrix (e.g. the output of dtm.create)

Value

A data frame with rows corresponding to the terms in dtm and the statistics in the columns


kasperwelbers/corpus-tools documentation built on May 20, 2019, 7:37 a.m.