Example #1
0
 public void Init()
 {
     preFact  = new FilePreprocessFactory(new TextProcessorFactory(new SentenceDetectorFactory(), new TokenizerFactory(), new StemmerFactory()));
     docFact  = new DocumentReaderFactory();
     basePath = Helpers.GetProjectDir();
     stop     = new StopwordsFile(basePath + "\\stopwords.txt", DocumentType.Text, preFact, docFact);
 }
Example #2
0
 public void Init()
 {
     preFact = new FilePreprocessFactory(new TextProcessorFactory(new SentenceDetectorFactory(), new TokenizerFactory(), new StemmerFactory()));
     docFact = new DocumentReaderFactory();
 }