public MessageReceivedHandler( ILogger <MessageReceivedHandler> log, IPersonRepository peopleRepo, ILanguageUnderstanding language, ITextAnalyzer textAnalyzer, IEntityRepository <PhoneSystem> phoneDir, IWorkflowSelector selector) => (this.log, this.peopleRepo, this.language, this.textAnalyzer, this.phoneDir, this.selector)
public TextProcessor(long languageId) { _languageId = languageId; _textAnalyzer = TextAnalyzerFactory.Create(); _wordsQuery = new WordsQuery(); _sentencesQuery = new SentencesQuery(); _sentenceWordsQuery = new SentenceWordsQuery(_languageId); }
public TagCloudTextAnalyzer(IFontAnalyzer fontAnalyzer, ITextAnalyzer textAnalyzer, IEnumerable <IWordFilter> wordFilters, IEnumerable <IWordConverter> wordConverters, IWordCounter wordCounter) { this.fontAnalyzer = fontAnalyzer; this.textAnalyzer = textAnalyzer; this.wordFilters = wordFilters; this.wordConverters = wordConverters; this.wordCounter = wordCounter; }
public TextProcessingService( ITextProcessingDataContextFactory dataContextFactory, IUniqueWordsAddingStrategy uniqueWorsAddingStrategy, ITextAnalyzer textAnalyzer, ILogger <TextProcessingService> logger) { _dataContextFactory = dataContextFactory; _uniqueWorsAddingStrategy = uniqueWorsAddingStrategy; _textAnalyzer = textAnalyzer; _logger = logger; }
public MainWindow() { ISpeaker speaker = new Speaker(); _speechRecognitionEngine = new SpeechRecognition(); _textHandler = new TextHandler(speaker, _speechRecognitionEngine); _kebabManager = new KebabManager(_speechRecognitionEngine, _textHandler); InitializeComponent(); _worker.DoWork += Run; _worker.RunWorkerAsync(); }
public ITextAnalyzer build_analyzer() { ITextAnalyzer analyzer = null; switch (this.analyzer) { case "word": analyzer = new WordTextAnalyzer(); break; } return(analyzer); }
public KontentWebhook( ILogger <KontentWebhook> logger, IWebhookValidator webhookValidator, IKontentRepository kontentRepository, ITranslationService translationService, ITextAnalyzer textAnalyzer ) : base(logger) { this.webhookValidator = webhookValidator; this.kontentRepository = kontentRepository; this.translationService = translationService; this.textAnalyzer = textAnalyzer; }
public static ITextAnalyzer Create() { if (_instance == null) { lock (_sync) { if (_instance == null) { //TODO: изменить пути var nativeTextAnalyzer = new NativeTextAnalyzer(@"C:\Projects\StudyLanguages\NLP\Models\", @"C:\Projects\StudyLanguages\NLP\Dictionaries\"); _instance = new TextAnalyzer(nativeTextAnalyzer); } } } return(_instance); }
internal SentencesSearchEngine(ISentenceWordsQuery sentenceWordsQuery, ITextAnalyzer textAnalyzer) { _sentenceWordsQuery = sentenceWordsQuery; _textAnalyzer = textAnalyzer; }
public WordVisualizer(ITextAnalyzer analyzer, ICloudLayouter layouter, ICloudVisualizer visualizer) { Layouter = layouter; Visualizer = visualizer; Analyzer = analyzer; }
public DocumentDataProvider(IStopWordProvider stopWordProvider, IXmlService xmlService, ITextAnalyzer textAnalyzer) { this.stopWordProvider = stopWordProvider; this.xmlService = xmlService; this.textAnalyzer = textAnalyzer; }
public CommentFactory(ICommentFormFactory commentFormFactory, ITextAnalyzer textAnalyzer) { _commentFormFactory = commentFormFactory; _textAnalyzer = textAnalyzer; }
public JobService(ITextAnalyzer textAnalyzer, ICommentRepository commentRepository, IJobRepository jobRepository) { _textAnalyzer = textAnalyzer; _commentRepository = commentRepository; _jobRepository = jobRepository; }
public TextParser() { _textAnalyzer = TextAnalyzerFactory.Create(); }
public ApplicationSettings(ITextAnalyzer[] analyzers) { TextAnalyzers = analyzers; CurrentTextAnalyzer = TextAnalyzers.FirstOrDefault(); }
public void Register(string metricName, ITextAnalyzer analyzer) => _analyzers.Add(metricName, analyzer);
public KebabManager(ISpeechRecognition speechRecognition, ITextAnalyzer textAnalyzer) { _speechRecognition = speechRecognition; _textAnalyzer = textAnalyzer; }
public PageAnalyzer(ITextAnalyzer textAnalyzer) { this.textAnalyzer = textAnalyzer; }