cc.mallet.extract
Class ExactMatchComparator

java.lang.Object
  extended by cc.mallet.extract.ExactMatchComparator
All Implemented Interfaces:
FieldComparator

public class ExactMatchComparator
extends java.lang.Object
implements FieldComparator

Created: Nov 23, 2004

Version:
$Id: ExactMatchComparator.java,v 1.1 2007/10/22 21:37:44 mccallum Exp $
Author:
Constructor Summary
ExactMatchComparator()
           
 
Method Summary
 boolean matches(java.lang.String fieldVal1, java.lang.String fieldVal2)
          Returns true if the given two slot fillers match.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExactMatchComparator

public ExactMatchComparator()
Method Detail

matches

public boolean matches(java.lang.String fieldVal1,
                       java.lang.String fieldVal2)
Description copied from interface: FieldComparator
Returns true if the given two slot fillers match.

Specified by:
matches in interface FieldComparator