gate.creole.orthomatcher
Class MatchRule5
java.lang.Object
gate.creole.orthomatcher.MatchRule5
- All Implemented Interfaces:
- OrthoMatcherRule
public class MatchRule5
- extends Object
- implements OrthoMatcherRule
RULE #4Name: Does all the non-punctuation tokens from the long string match the corresponding tokens
in the short string?
This basically identifies cases where the two strings match token for token, excluding punctuation
Applied to: person annotations
Modified by Andrew Borthwick, Spock Networks: Allowed for nickname match
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchRule5
public MatchRule5(OrthoMatcher orthmatcher)
value
public boolean value(String s1,
String s2)
- Specified by:
value in interface OrthoMatcherRule
getId
public String getId()
- Specified by:
getId in interface OrthoMatcherRule