gate.creole.orthomatcher
Class MatchRule12

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

public class MatchRule12
extends Object
implements OrthoMatcherRule

RULE #12: do the first and last tokens of one name match the first and last tokens of the other? Condition(s): case-sensitive match Applied to: organisation annotations only


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

MatchRule12

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