gate.creole.orthomatcher
Class MatchRule3

java.lang.Object
  extended by gate.creole.orthomatcher.MatchRule3
All Implemented Interfaces:
OrthoMatcherRule

public class MatchRule3
extends Object
implements OrthoMatcherRule

RULE #3: adding a possessive at the end of one name causes a match e.g. "Standard and Poor" == "Standard and Poor's" and also "Standard and Poor" == "Standard's" Condition(s): case-insensitive match Applied to: all name annotations


Field Summary
(package private)  OrthoMatcher orthomatcher
           
 
Fields inherited from interface gate.creole.orthomatcher.OrthoMatcherRule
description
 
Constructor Summary
MatchRule3(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
 

Field Detail

orthomatcher

OrthoMatcher orthomatcher
Constructor Detail

MatchRule3

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