Example #1
0
 public WordOccurenceFactory(ILogger <WordOccurenceFactory> log, IContextWordsHandler wordsHandlers, IRawTextExtractor extractor, IInquirerManager inquirerManager)
 {
     this.wordsHandlers   = wordsHandlers ?? throw new ArgumentNullException(nameof(wordsHandlers));
     this.extractor       = extractor ?? throw new ArgumentNullException(nameof(extractor));
     this.inquirerManager = inquirerManager ?? throw new ArgumentNullException(nameof(inquirerManager));
     this.log             = log ?? throw new ArgumentNullException(nameof(log));
 }
 public SimpleWordItemFactory(IPOSTagger tagger, IRawTextExtractor raw)
 {
     this.tagger = tagger ?? throw new ArgumentNullException(nameof(tagger));
     this.raw    = raw ?? throw new ArgumentNullException(nameof(raw));
 }
 public SentenceTokenizerFactory(IPOSTagger tagger, IRawTextExtractor raw)
 {
     this.tagger = tagger ?? throw new ArgumentNullException(nameof(tagger));
     this.raw    = raw ?? throw new ArgumentNullException(nameof(raw));
 }