Class StopwordsAnalyzerProperties


  • public final class StopwordsAnalyzerProperties
    extends Object
    Author:
    Michele Rastelli
    • Constructor Detail

      • StopwordsAnalyzerProperties

        public StopwordsAnalyzerProperties()
    • Method Detail

      • getStopwords

        public List<String> getStopwords()
      • getStopwordsAsStringList

        public List<String> getStopwordsAsStringList()
        Returns:
        list of verbatim strings that describe the tokens to be discarded.
      • getStopwordsAsHexList

        public List<String> getStopwordsAsHexList()
        Returns:
        list of hex-encoded strings that describe the tokens to be discarded.
      • getHex

        public boolean getHex()
        Returns:
        if false each string in stopwords is used as verbatim, if true as hex-encoded.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object