public class StructuredAbstractParser extends Object implements DocumentTextPartParser
PartOfDocument given to the
#parseDocumentPart(VTDNav, PartOfDocument, JCas) method or just plain
text at the XPath location. It parses the abstract sections and creates the
text as well as abstract section annotations and the AbstractText annotation
itself, containing all its sections. The section titles are also created as
annotations but not added to the text. This should be done by a consuming
component, if required. | Modifier and Type | Field and Description |
|---|---|
static boolean |
newlineBetweenSections |
| Constructor and Description |
|---|
StructuredAbstractParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDocumentText() |
List<String> |
parseDocumentPart(com.ximpleware.VTDNav vn,
PartOfDocument docTextPart,
int offset,
org.apache.uima.jcas.JCas jCas,
byte[] identifier) |
public static final boolean newlineBetweenSections
public List<String> parseDocumentPart(com.ximpleware.VTDNav vn, PartOfDocument docTextPart, int offset, org.apache.uima.jcas.JCas jCas, byte[] identifier) throws com.ximpleware.VTDException
parseDocumentPart in interface DocumentTextPartParsercom.ximpleware.VTDExceptionpublic String getDocumentText()
Copyright © 2016 JULIE Lab Jena, Germany. All rights reserved.