edu.umass.cs.mallet.base.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.,
Method Summary |
boolean |
matches(java.lang.String fieldVal1,
java.lang.String fieldVal2)
Returns true if the given two slot fillers match. |
matches
public boolean matches(java.lang.String fieldVal1,
java.lang.String fieldVal2)
- Returns true if the given two slot fillers match.