public class KeepsCleaner
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Keep.getNormalizedText(). Should be performed at
the end of the filtering process. Detailed steps: | Constructor and Description |
|---|
KeepsCleaner() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBalanced(String expression) |
static boolean |
isOnlyPunctAndNumbers(String txt) |
void |
process(org.apache.uima.jcas.JCas jCas) |
getLogger, initializegetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic void process(org.apache.uima.jcas.JCas jCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionpublic static boolean isOnlyPunctAndNumbers(String txt)
public static boolean isBalanced(String expression)
Copyright © 2015 Bluebrain Project. All rights reserved.