collocate {RMeCab}R Documentation

collocate

Description

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.

Usage


  collocate(filename, node, span , dic = "", mecabrc = "", etc = "")

Arguments

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

Details

If necessary, more details than the description above

Value

generates and returns a new 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.97 Index]