uk.ac.man.entitytagger.matching.matchers
Class MatchPostProcessor
java.lang.Object
uk.ac.man.entitytagger.matching.Matcher
uk.ac.man.entitytagger.matching.matchers.MatchPostProcessor
public class MatchPostProcessor
- extends Matcher
Method Summary |
private void |
convertIDs(java.util.List<Mention> mentions,
java.util.Map<java.lang.String,java.lang.String> mapConvertIDs2)
|
java.util.List<Mention> |
match(java.lang.String text,
Document doc)
Search a given text for mentions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matcher
private Matcher matcher
mode
private Matcher.Disambiguation mode
abbrevResolution
private boolean abbrevResolution
postProcessor
private Postprocessor postProcessor
mapConvertIDs
private java.util.Map<java.lang.String,java.lang.String> mapConvertIDs
MatchPostProcessor
public MatchPostProcessor(Matcher matcher,
Matcher.Disambiguation mode,
boolean abbrevResolution,
java.io.File ppConvertIDs,
Postprocessor postProcessor)
match
public java.util.List<Mention> match(java.lang.String text,
Document doc)
- Description copied from class:
Matcher
- Search a given text for mentions
- Specified by:
match
in class Matcher
doc
- the document associated to the text, may be null
- Returns:
- the mentions found by the matcher in the text
convertIDs
private void convertIDs(java.util.List<Mention> mentions,
java.util.Map<java.lang.String,java.lang.String> mapConvertIDs2)