Beispiel #1
0
 public Parser(string stopwords_path,bool stems)
 {
     
     stopword = new Stopwords(stopwords_path);
     stem = new Stemmer();
     _is_stemming = stems;
 }
Beispiel #2
0
 public Parser(string query, string stopwords_path, bool stems)
 {
     stopword = new Stopwords(stopwords_path);
     stem = new Stemmer();
     _is_stemming = stems;
     doc_id = "000";
     batch_id = "000";
     doc_text = new StringBuilder(query);
     doc_title = new StringBuilder(" ");
 }