gate.creole.orthomatcher
Class MatchRule15
java.lang.Object
gate.creole.orthomatcher.MatchRule15
- All Implemented Interfaces:
- OrthoMatcherRule
public class MatchRule15
- extends Object
- implements OrthoMatcherRule
RULE #14: if the last token of one name
matches the second name
e.g. "Hamish Cunningham" == "Cunningham"
Condition(s): case-insensitive match
Applied to: all person annotations
Don't need to nicknames here
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchRule15
public MatchRule15(OrthoMatcher orthmatcher)
value
public boolean value(String s1,
String s2)
- Specified by:
value
in interface OrthoMatcherRule
getId
public String getId()
- Specified by:
getId
in interface OrthoMatcherRule