/** Builds an analyzer with the stop words from the given path. * @see WordlistLoader#getWordSet(Reader) * @param stopwordsFile File to load stop words from */ public StopAnalyzer(Path stopwordsFile) throws IOException { this(loadStopwordSet(stopwordsFile)); }
/** Builds an analyzer with the stop words from the given reader. * @see WordlistLoader#getWordSet(Reader) * @param stopwords Reader to load stop words from */ public StopAnalyzer(Reader stopwords) throws IOException { this(loadStopwordSet(stopwords)); }
/** Builds an analyzer with the stop words from the given reader. * @see WordlistLoader#getWordSet(Reader) * @param stopwords Reader to load stop words from */ public StopAnalyzer(Reader stopwords) throws IOException { this(loadStopwordSet(stopwords)); }
/** Builds an analyzer with the stop words from the given path. * @see WordlistLoader#getWordSet(Reader) * @param stopwordsFile File to load stop words from */ public StopAnalyzer(Path stopwordsFile) throws IOException { this(loadStopwordSet(stopwordsFile)); }
/** Builds an analyzer with the stop words from the given reader. * @see WordlistLoader#getWordSet(Reader, Version) * @param matchVersion See <a href="#version">above</a> * @param stopwords Reader to load stop words from */ public StopAnalyzer(Reader stopwords) throws IOException { this(loadStopwordSet(stopwords)); }
/** Builds an analyzer with the stop words from the given file. * @see WordlistLoader#getWordSet(Reader, Version) * @param matchVersion See <a href="#version">above</a> * @param stopwordsFile File to load stop words from */ public StopAnalyzer(File stopwordsFile) throws IOException { this(loadStopwordSet(stopwordsFile)); }