Class NaiveParagraph

  • All Implemented Interfaces:
    io.annot8.api.components.Annot8ComponentDescriptor<NaiveParagraph.Processor,​io.annot8.api.settings.NoSettings>, io.annot8.api.components.ProcessorDescriptor<NaiveParagraph.Processor,​io.annot8.api.settings.NoSettings>

    @ComponentName("Naive Paragraph")
    @ComponentDescription("Naively extract paragraphs by looking for multiple new line characters between lines")
    public class NaiveParagraph
    extends io.annot8.common.components.AbstractProcessorDescriptor<NaiveParagraph.Processor,​io.annot8.api.settings.NoSettings>
    Naively extract paragraphs by looking for multiple new line characters between lines using a RegEx pattern.
    • Constructor Detail

      • NaiveParagraph

        public NaiveParagraph()
    • Method Detail

      • createComponent

        protected NaiveParagraph.Processor createComponent​(io.annot8.api.context.Context context,
                                                           io.annot8.api.settings.NoSettings settings)
        Specified by:
        createComponent in class io.annot8.common.components.AbstractComponentDescriptor<NaiveParagraph.Processor,​io.annot8.api.settings.NoSettings>
      • capabilities

        public io.annot8.api.capabilities.Capabilities capabilities()