|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.man.entitytagger.matching.Matcher uk.ac.man.entitytagger.matching.matchers.UnionMatcher
public class UnionMatcher
Nested Class Summary |
---|
Nested classes/interfaces inherited from class uk.ac.man.entitytagger.matching.Matcher |
---|
Matcher.Disambiguation |
Field Summary | |
---|---|
private boolean |
equalMatchers
|
private java.util.List<Matcher> |
matchers
|
Constructor Summary | |
---|---|
UnionMatcher(java.util.List<Matcher> matchers,
boolean equalMatchers)
|
Method Summary | |
---|---|
java.util.List<Mention> |
match(java.lang.String text,
Document doc)
Search a given text for mentions |
TaggedDocument |
matchDocument(Document doc)
|
int |
size()
|
Methods inherited from class uk.ac.man.entitytagger.matching.Matcher |
---|
combineMatches, detectEnumerations, disambiguate, isValidMatch, match, match, match, performAcronymResolution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.List<Matcher> matchers
private boolean equalMatchers
Constructor Detail |
---|
public UnionMatcher(java.util.List<Matcher> matchers, boolean equalMatchers)
Method Detail |
---|
public java.util.List<Mention> match(java.lang.String text, Document doc)
Matcher
match
in class Matcher
doc
- the document associated to the text, may be null
public TaggedDocument matchDocument(Document doc)
public int size()
size
in class Matcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |