RCaBoChaDF {RCaBoCha}R Documentation

RCaBoChaDF

Description

creates a document-term matrix out of a column in a dataframe.

Usage

RCaBoChaDF( charVec = c("南瓜","基広"), rmT= c("記号"), str2 = "ない", minFreq = 1, weight = "no")

Arguments

charVec column of strings.
rmT specifies which parts of speech should be extracted.
str2 a japanese word
minFreq words of a document appearing less than minDocFreq within that document will be ignored.
weight Calculates a weighted document-term matrix with some options.

Details

column in the specified dataframe are read in and a matrix is composed. Every cell of the matrix shows the actual frequency of each word.

Value

RCaBoChaDF the document-term matrix

Author(s)

Motohiro ISHIDA ishida.motohiro@gmail.comt


[Package RCaBoCha version 0.05 Index]