docNgram {RMeCab}R Documentation

docNgram

Description

docNgram returns data frame of N-gram based on file's directory.

Usage

  docNgram(mydir, type = 1, N = 2, pos = "Default"  , dic = "", mecabrc = "", etc = "")
  makeNgram(filename, type = 1, N = 2, pos , dic = "", mecabrc = "", etc = "")

Arguments

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

Details

If necessary, more details than the description above

Value

returns a data frame.

Note

note

Author(s)

Motohiro ISHIDA ishida.motohiro@gmail.com

References

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

See Also

objects to See Also as help,


[Package RMeCab version 0.96 Index]