docNgram {RMeCab} | R Documentation |
docNgram
returns data frame of N-gram based on file's directory.
docNgram(mydir, type = 1, N = 2, pos = "Default" , dic = "", mecabrc = "", etc = "") makeNgram(filename, type = 1, N = 2, pos , dic = "", mecabrc = "", etc = "")
mydir |
files directory |
filename |
a file |
type |
Default being 0. |
N |
N-gram. Default being 2 |
pos |
part of speach. Default being noun and adjective. |
dic |
to specify user dictionary, e.x. ishida.dic |
mecabrc |
to specify mecab resource file |
etc |
other options to mecab |
If necessary, more details than the description above
returns a data frame.
note
Motohiro ISHIDA ishida.motohiro@gmail.com
石田基広『Rによるテキストマイニング入門』森北出版 2008
objects to See Also as help
,