gate.creole.orthomatcher
Class MatchRule2

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

public class MatchRule2
extends Object
implements OrthoMatcherRule

RULE #2: if the two names are listed as equivalent in the lookup table (alias) then they match Condition(s): - Applied to: all name annotations


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

MatchRule2

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