|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.man.entitytagger.matching.Matcher
uk.ac.man.entitytagger.matching.matchers.TaxonGrabMatcher
public class TaxonGrabMatcher
Nested Class Summary |
---|
Nested classes/interfaces inherited from class uk.ac.man.entitytagger.matching.Matcher |
---|
Matcher.Disambiguation |
Field Summary | |
---|---|
private java.util.Set<java.lang.String> |
dict
|
Constructor Summary | |
---|---|
TaxonGrabMatcher(java.io.File dictFile)
|
Method Summary | |
---|---|
private java.util.Set<java.lang.String> |
loadDict(java.io.File dictFile)
|
java.util.List<Mention> |
match(java.lang.String text,
Document doc)
Search a given text for mentions |
Methods inherited from class uk.ac.man.entitytagger.matching.Matcher |
---|
combineMatches, detectEnumerations, disambiguate, isValidMatch, match, match, match, performAcronymResolution, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Set<java.lang.String> dict
Constructor Detail |
---|
public TaxonGrabMatcher(java.io.File dictFile)
Method Detail |
---|
private java.util.Set<java.lang.String> loadDict(java.io.File dictFile)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |