library(webannor)

The webannor package provides functions to import annotated text files exported by WebAnno in the UIMA CAS XMI format. The project export format adopted by WebAnno is a nested (hierarchical) file tree.

`webannor' provides functions for various entry-points in the hierarchy. You can import the whole project by starting at the outermost path...

get_annotations.WebAnno_project("../data-raw/credibility_example")

... or focus on a particular document...

get_annotations.WebAnno_document("../data-raw/credibility_example/annotation/s11748.txt")

... or a particular annotator of a given document (in case there are multiple annotators per document)...

get_annotations.WebAnno_annotator("../data-raw/credibility_example/annotation/s11748.txt/webanno3259911804369659129export.zip")

(Alternatively, get_annotations.WebAnno_XMI() will directly process the XMI file that exists inside the annotator-specific zip file.)



petereckley/webannor documentation built on May 25, 2019, 12:48 a.m.