Learn R Programming

coreNLP (version 0.4-3)

loadXMLAnnotation: Load CoreNLP XML file

Description

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

Usage

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.