Ngram {RMeCab} | R Documentation |
Ngram
returns returns data frame of N-gram. Each word of N-gram makes one column.
Ngram(filename, type = 0, N = 2, pos = "Default", dic = "", mecabrc = "", etc = "" )
filename |
a file |
type |
Default being 0. |
N |
N-gram. Default being 2 |
pos |
argument3. 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.
Motohiro ISHIDA ishida.motohiro@gmail.com
石田基広『Rによるテキストマイニング入門』森北出版 2008
objects to See Also as help
,