cc.mallet.extract
Interface FieldComparator

All Known Implementing Classes:
ExactMatchComparator, PunctuationIgnoringComparator

public interface FieldComparator

Interface for functions that compares extracted values of a field to see if they match. These are used by the evaluation metrics (e.g.,

Version:
$Id: FieldComparator.java,v 1.1 2007/10/22 21:37:44 mccallum Exp $
Author:
Method Summary
 boolean matches(java.lang.String fieldVal1, java.lang.String fieldVal2)
          Returns true if the given two slot fillers match.
 

Method Detail

matches

boolean matches(java.lang.String fieldVal1,
                java.lang.String fieldVal2)
Returns true if the given two slot fillers match.