uk.ac.man.entitytagger.entities.misc
Class CellLinePostprocessor
java.lang.Object
uk.ac.man.entitytagger.matching.Postprocessor
uk.ac.man.entitytagger.entities.misc.CellLinePostprocessor
public class CellLinePostprocessor
- extends Postprocessor
Field Summary |
private int |
POST
|
private int |
PRE
|
Constructor Summary |
CellLinePostprocessor(java.io.File[] stopTermFiles,
java.io.File[] acronymProbFiles,
java.io.File[] entityFrequencyFiles,
java.util.logging.Logger logger,
java.util.Map<java.lang.String,java.lang.String> comments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRE
private final int PRE
- See Also:
- Constant Field Values
POST
private final int POST
- See Also:
- Constant Field Values
CellLinePostprocessor
public CellLinePostprocessor(java.io.File[] stopTermFiles,
java.io.File[] acronymProbFiles,
java.io.File[] entityFrequencyFiles,
java.util.logging.Logger logger,
java.util.Map<java.lang.String,java.lang.String> comments)
postProcess
public java.util.List<Mention> postProcess(java.util.List<Mention> matches,
java.lang.String text)
- Overrides:
postProcess
in class Postprocessor
filterForCells
private java.util.List<Mention> filterForCells(java.util.List<Mention> matches,
java.lang.String text)
getPostprocessor
public static Postprocessor getPostprocessor(ArgParser ap,
java.util.logging.Logger logger,
java.util.Map<java.lang.String,java.lang.String> comments)