public FullTextIndex(string[] stopWords, Dictionary <char, char> normalizationTable) { normalizer = new Normalizer(normalizationTable); stopWordsFilter = new StopWordsFilter(new HashSet <string>(stopWords), normalizer); documents = new Dictionary <string, Document>(); parser = new TextParser(); }
public TagManager(IPorterStemmerFilter porterStemmerFilter, IStopWordsFilter stopWordsFilter, ITagService tagService) { this.porterStemmerFilter = porterStemmerFilter; this.stopWordsFilter = stopWordsFilter; this.tagService = tagService; }
public FullTextIndex() { stopWordsFilter = new StopWordsFilter(); normalizer = new Normalizer(); documents = new Dictionary <string, Document>(); parser = new TextParser(); }