An analysis function that takes a Slab with declared annotation types in it and outputs a new Slab with additional annotations of a new type.
An analysis function that takes a Slab with declared annotation types in it and outputs a new Slab with additional annotations of a new type.
Documentation for the type variables: C = Content type B = Base annonation type I = Input annotation type O = Output annotation type
A Slab is the core "document" type in Epic.
A Slab is the core "document" type in Epic. It represents a document and a set of annotations on that document, such as sentence boundaries, tokens, named entity spans, etc. The ContentType is the type of the document--typically a string--and the AnnotationTypes parameter is an encoding of the kinds of annotations that are present. epic.slab.AnalysisFunctions can be used to add new annotations to a Slab that have the prerequisite annotations.
A simple regex tokenizer.
TODO