NgramDF {RMeCab}R Documentation

NgramDF

Description

NgramDF returns data frame of N-gram. Each word of N-gram makes one column.

Usage

  NgramDF(filename, type = 0, N = 2, pos  = "Default", dic = "", mecabrc = "", etc = "" )

Arguments

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

Details

If necessary, more details than the description above

Value

returns a data frame.

Author(s)

Motohiro ISHIDA ishida.motohiro@gmail.com

References

石田基広『Rによるテキストマイニング入門』森北出版 2008

See Also

objects to See Also as help,


[Package RMeCab version 0.91 Index]