gate.creole.orthomatcher
Class MatchRule8
java.lang.Object
gate.creole.orthomatcher.MatchRule8
- All Implemented Interfaces:
- OrthoMatcherRule
public class MatchRule8
- extends Object
- implements OrthoMatcherRule
RULE #7: if one of the tokens in one of the
names is in the list of separators eg. "&"
then check if the token before the separator
matches the other name
e.g. "R.H. Macy & Co." == "Macy"
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 |
MatchRule8
public MatchRule8(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