NgramDF2 {RMeCab}R Documentation

NgramDF2

Description

NgramDF2 returns data frame of N-gram from a file or all files in a given directory. Each word of N-gram makes one column.

Usage

  NgramDF2(directory, type = 0, pos = "Default", minFreq = 1, N = 2, kigo = 0)

Arguments

directory directory path or a filename (may include path).
type Default being 0.
pos argument3. Default being Noun only
minFreq words of a document appearing less than minDocFreq within that document will be ignored.
N N-gram. Default being 2
kigo if total must include number of symbols, set sym = 1. Default being 0

Details

If necessary, more details than the description above

Value

returns a data frame.

Author(s)

Motohiro ISHIDA ishida.motohiro@gmail.com

References

put references to the literature/web site here

See Also

objects to See Also as help,


[Package RMeCab version 0.83 Index]