gate.creole.orthomatcher
Class MatchRule9
java.lang.Object
gate.creole.orthomatcher.MatchRule9
- All Implemented Interfaces:
- OrthoMatcherRule
public class MatchRule9
- extends Object
- implements OrthoMatcherRule
RULE #9: does one of the names match the token
just before a trailing company designator
in the other name?
The company designator has already been chopped off,
so the token before it, is in fact the last token
e.g. "R.H. Macy Co." == "Macy"
Applied to: organisation annotations only
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchRule9
public MatchRule9(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