public class ParagraphSplitter
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
DOUBLE_LINE_BREAKS_PATTERN |
static String |
PARAM_SPLIT_PATTERN
A regular expression used to detect paragraph splits.
|
static String |
SINGLE_LINE_BREAKS_PATTERN |
Constructor and Description |
---|
ParagraphSplitter() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.uima.jcas.JCas aJCas) |
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String SINGLE_LINE_BREAKS_PATTERN
public static final String DOUBLE_LINE_BREAKS_PATTERN
public static final String PARAM_SPLIT_PATTERN
DOUBLE_LINE_BREAKS_PATTERN
(split on two consecutive line breaks)public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.