Documentation of 'cc.mallet.extract.PunctuationIgnoringComparator' Java class
PunctuationIgnoringComparator
cc.mallet.extract

Class PunctuationIgnoringComparator

  • All Implemented Interfaces:
    FieldComparator


    public class PunctuationIgnoringComparator
    extends java.lang.Object
    implements FieldComparator
    Created: Nov 23, 2004
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean matches(java.lang.String fieldVal1, java.lang.String fieldVal2)
      Returns true if the given two slot fillers match.
      void setPunctuationPattern(java.util.regex.Pattern punctuationPattern) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PunctuationIgnoringComparator

        public PunctuationIgnoringComparator()
    • Method Detail

      • setPunctuationPattern

        public void setPunctuationPattern(java.util.regex.Pattern punctuationPattern)
      • 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

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.