public WordsDetectorBase(
     ISourceProviderService sourceProvider,
     ILogger logger)
 {
     _sourceProvider = sourceProvider;
     _logger         = logger;
 }
 public WordDetectorFactory(
     IServiceProvider serviceProvider,
     ISourceProviderService sourceProvider)
 {
     _serviceProvider = serviceProvider;
     _sourceProvider  = sourceProvider;
 }
Beispiel #3
0
 public SmallTalksDetector(
     IDetectorDataProviderService detectorDataProvider,
     ISourceProviderService sourceProvider,
     IStopWordsDetector stopWordsDetector)
 {
     _detectorDataProvider = detectorDataProvider;
     _sourceProvider       = sourceProvider;
     _stopWordsDetector    = stopWordsDetector;
 }
Beispiel #4
0
 public SmallTalksDetector(
     IDetectorDataProviderService detectorDataProvider,
     ISourceProviderService sourceProvider,
     IWordDetectorFactory wordDetectorFactory,
     ILogger logger)
 {
     _detectorDataProvider = detectorDataProvider;
     _sourceProvider       = sourceProvider;
     _wordDetectorFactory  = wordDetectorFactory;
     _logger = logger;
 }
Beispiel #5
0
 public StopWordsDetector(ISourceProviderService sourceProvider)
 {
     _sourceProvider = sourceProvider;
 }