public TextProcessor(long languageId) { _languageId = languageId; _textAnalyzer = TextAnalyzerFactory.Create(); _wordsQuery = new WordsQuery(); _sentencesQuery = new SentencesQuery(); _sentenceWordsQuery = new SentenceWordsQuery(_languageId); }
internal SentencesSearchEngine(ISentenceWordsQuery sentenceWordsQuery, ITextAnalyzer textAnalyzer) { _sentenceWordsQuery = sentenceWordsQuery; _textAnalyzer = textAnalyzer; }