gate.creole.orthomatcher
Class MatchRule9

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


Field Summary
 
Fields inherited from interface gate.creole.orthomatcher.OrthoMatcherRule
description
 
Constructor Summary
MatchRule9(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

MatchRule9

public MatchRule9(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