docMatrixDF {RMeCab} | R Documentation |
creates a document-term matrix out of a column in a dataframe.
docMatrixDF( charVec = c("めかぶ","基広"), pos= c("名詞","動詞","形容詞"), minFreq = 1, weight = "no")
charVec |
column of strings. |
pos |
specifies which parts of speech should be extracted. |
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. |
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.
docMatrixDF |
the document-term matrix |
Motohiro ISHIDA ishida.motohiro@gmail.comt