Ejemplo n.º 1
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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Builds an analyzer with the given stop words.
 /// </summary>
 /// <param name="stopwords"></param>
 public DutchAnalyzer(FileInfo stopwords)
 {
     stoptable = WordlistLoader.GetWordtable(stopwords);
 }