loadXMLAnnotation: Load CoreNLP XML file

Description Usage Arguments

Description

Loads a properly formated XML file output by the CoreNLP library into an annotation object in R.

Usage

1
loadXMLAnnotation(file, encoding = "unknown")

Arguments

file

connection or character string giving the file name to load

encoding

encoding to be assumed for input strings. It is used to mark character strings as known to be in Latin-1 or UTF-8: it is not used to re-encode the input. Passed to readLines.


statsmaths/coreNLP documentation built on May 30, 2019, 10:41 a.m.