RMeCabDF {RMeCab}R Documentation

RMeCabDF

Description

RMeCabDF takes data frames as the first argument, and analyzes the columns specified by the second argument. Blank data should be replaced with NA. If 1 is designated as the third argument, it returns each morpheme in its basic form.

Usage


  RMeCabDF(dataf, coln, mypref, dic = "", mecabrc = "", etc = "")

Arguments

dataf

data.frame

coln

Column number or name which include Japanese sentences

mypref

Default being 0, the same morphemic forms that appear on the text are returned. If 1 is designated, the basic forms of them are instead.

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]