docDF {RMeCab} | R Documentation |
docDF
returns returns data frame of N-gram from a file or all
files in a given directoryor or a column of data.frame. Each word of N-gram makes one column.
docDF(target, column = 0, type = 0, pos = NULL, minFreq = 1, N = 1, Genkei = 0, weight ="", nDF = 0) minFreq = 1, N = 1, sym = 0, kigo = "記号", Genkei = 0, weight ="", nDF = 0)
target |
directory path or a filename (may include path) or a data.frame. |
column |
column name or index, if data.frame . Default being 0 |
type |
character (0) or term(1).Default being 0. |
pos |
vector of parts of speech . Default being "" |
minFreq |
words of a document appearing less than minDocFreq within that document will be ignored. |
N |
N-gram. Default being 1 |
Genkei |
infinitive(0) or not(1) |
weight |
tf or/and idf.see weight |
nDF |
Ngrma as data frame |
If necessary, more details than the description above
returns a data frame.
....
note section{Warning }{....}
Motohiro ISHIDA ishida.motohiro@gmail.com
put references to the literature/web site here
objects to See Also as help
,