예제 #1
0
 /// <summary>
 /// Builds an analyzer with the given stop words.
 /// </summary>
 /// <param name="stopwords"></param>
 public GermanAnalyzer(FileInfo stopwords)
 {
     stoptable = WordlistLoader.GetWordtable(stopwords);
 }
예제 #2
0
 /// <summary>
 /// Builds an exclusionlist from the words contained in the given file.
 /// </summary>
 /// <param name="exclusionlist"></param>
 public void SetStemExclusionTable(FileInfo exclusionlist)
 {
     excltable = WordlistLoader.GetWordtable(exclusionlist);
 }