Class CzechAnalyzer

    • Field Detail

      • DEFAULT_STOPWORD_FILE

        public static final String DEFAULT_STOPWORD_FILE
        File containing default Czech stopwords.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CzechAnalyzer

        public CzechAnalyzer​(Version matchVersion)
        Builds an analyzer with the default stop words (getDefaultStopSet()).
        Parameters:
        matchVersion - Lucene version to match See {@link above}
      • CzechAnalyzer

        public CzechAnalyzer​(Version matchVersion,
                             CharArraySet stopwords)
        Builds an analyzer with the given stop words.
        Parameters:
        matchVersion - Lucene version to match See {@link above}
        stopwords - a stopword set
      • CzechAnalyzer

        public CzechAnalyzer​(Version matchVersion,
                             CharArraySet stopwords,
                             CharArraySet stemExclusionTable)
        Builds an analyzer with the given stop words and a set of work to be excluded from the CzechStemFilter.
        Parameters:
        matchVersion - Lucene version to match See {@link above}
        stopwords - a stopword set
        stemExclusionTable - a stemming exclusion set
    • Method Detail

      • getDefaultStopSet

        public static final CharArraySet getDefaultStopSet()
        Returns a set of default Czech-stopwords
        Returns:
        a set of default Czech-stopwords