gate.creole.orthomatcher
Class MatchRule8

java.lang.Object
  extended by 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


Field Summary
 
Fields inherited from interface gate.creole.orthomatcher.OrthoMatcherRule
description
 
Constructor Summary
MatchRule8(OrthoMatcher orthmatcher)
           
 
Method Summary
 String getId()
           
 boolean value(String s1, String s2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchRule8

public MatchRule8(OrthoMatcher orthmatcher)
Method Detail

value

public boolean value(String s1,
                     String s2)
Specified by:
value in interface OrthoMatcherRule

getId

public String getId()
Specified by:
getId in interface OrthoMatcherRule