public class MeasureNormalizerAnnotator
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Keep.getNormalizedText() that cover a Measure by
removing the numeric part and leaving only the unit. E.g. "28 mM" becomes
"MEASURE_mM". Useful e.g. for LDA, when the numeric part is
irrelevant/confusing, but the unit is.| Modifier and Type | Field and Description |
|---|---|
static String |
MEASURE_MASK
Mask (that replace the
Measure's value |
static String |
PARAM_REMOVE_DATE_MEASURE |
static String |
PARAM_REMOVE_SIMPLE_MEASURE |
| Constructor and Description |
|---|
MeasureNormalizerAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.uima.jcas.JCas jCas) |
getLogger, initializegetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static final String MEASURE_MASK
Measure's valuepublic static final String PARAM_REMOVE_SIMPLE_MEASURE
public static final String PARAM_REMOVE_DATE_MEASURE
public 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.AnalysisEngineProcessExceptionCopyright © 2015 Bluebrain Project. All rights reserved.