collocate {RMeCab} | R Documentation |
collocate
makes MeCab find collocations from the specified Japanese textfile. The node of the collocations should be designated as the second argument, and the span of them shoud be designated as the third.
collocate(filename, node, span , dic = "", mecabrc = "", etc = "")
filename |
Japanese text |
node |
node word |
span |
windows span. Default being 3 |
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
generates and returns a new data frame.
Motohiro ISHIDA ishida.motohiro@gmail.com
石田基広『Rによるテキストマイニング入門』森北出版 2008
objects to See Also as help
,