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); }
public void Init() { preFact = new FilePreprocessFactory(new TextProcessorFactory(new SentenceDetectorFactory(), new TokenizerFactory(), new StemmerFactory())); docFact = new DocumentReaderFactory(); }