Exemplo n.º 1
0
 /*
  * Builds an analyzer with the given stop words.
  * @deprecated use {@link #CzechAnalyzer(Version, Set)} instead
  */
 public CzechAnalyzer(Version matchVersion, FileInfo stopwords)
     : this(matchVersion, WordlistLoader.GetWordSet(stopwords))
 {
 }
 /// <summary>Builds an analyzer with the stop words from the given reader.</summary>
 /// <seealso cref="WordlistLoader.GetWordSet(System.IO.TextReader)">
 /// </seealso>
 /// <param name="matchVersion">Lucene version to match See <see cref="Version">above</see> />
 ///
 /// </param>
 /// <param name="stopwords">Reader to read stop words from
 /// </param>
 public StandardAnalyzer(Version matchVersion, System.IO.TextReader stopwords)
     : this(matchVersion, WordlistLoader.GetWordSet(stopwords))
 {
 }
Exemplo n.º 3
0
 /// <summary>Builds an analyzer with the stop words from the given reader.</summary>
 /// <seealso cref="WordlistLoader.GetWordSet(Reader)">
 /// </seealso>
 /// <param name="matchVersion">Lucene version to match See {@link
 /// <a href="#version">above</a>}
 /// </param>
 /// <param name="stopwords">Reader to read stop words from
 /// </param>
 public StandardAnalyzer(Version matchVersion, System.IO.TextReader stopwords)
 {
     stopSet = WordlistLoader.GetWordSet(stopwords);
     Init(matchVersion);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Builds an analyzer with the given stop words.
 /// </summary>
 public CzechAnalyzer(FileInfo stopwords)
 {
     stoptable = WordlistLoader.GetWordSet(stopwords);
 }