Skip to contents

Execute `cabocha -f3 -n1` command using system2, then return the paths to the temporary XML files.

Usage

ppn_cabocha(text, rcpath = NULL)

Arguments

text

A character vector to be parsed with CaboCha.

rcpath

String; path to the `mecabrc` file if any.

Value

Paths to the CaboCha XML output are returned.

Examples

if (FALSE) {
ppn_cabocha(enc2utf8("\u96e8\u306b\u3082\u8ca0\u3051\u305a"))
}