Class StructuredAbstractParser

  • All Implemented Interfaces:
    DocumentTextPartParser

    public class StructuredAbstractParser
    extends Object
    implements DocumentTextPartParser
    This class expects a MEDLINE structured abstract pointed to by the PartOfDocument given to the parseDocumentPart(VTDNav, PartOfDocument, int, JCas, byte[]) 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.
    NOTE: Using this parser, the AbstractText annotation is already created and should not be set in the mapping file.
    Author:
    faessler
    • Constructor Detail

      • StructuredAbstractParser

        public StructuredAbstractParser()