gate.creole.orthomatcher
Class MatchRule11
java.lang.Object
gate.creole.orthomatcher.MatchRule11
- All Implemented Interfaces:
- OrthoMatcherRule
public class MatchRule11
- extends Object
- implements OrthoMatcherRule
RULE #11: does one name consist of contractions
of the first two tokens of the other name?
e.g. "Communications Satellite" == "ComSat"
and "Pan American" == "Pan Am"
Condition(s): case-sensitive match
Applied to: organisation annotations only
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
orthomatcher
OrthoMatcher orthomatcher
MatchRule11
public MatchRule11(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