gate.creole.orthomatcher
Class MatchRule10
java.lang.Object
gate.creole.orthomatcher.MatchRule10
- All Implemented Interfaces:
- OrthoMatcherRule
public class MatchRule10
- extends Object
- implements OrthoMatcherRule
RULE #10: is one name the reverse of the other
reversing around prepositions only?
e.g. "Department of Defence" == "Defence Department"
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 |
MatchRule10
public MatchRule10(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