public Sentiment(SentimentConfiguration configuration, ILanguageProcessor languageProcessor) { _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _languageProcessor = languageProcessor ?? throw new ArgumentNullException(nameof(languageProcessor)); AddLanguage(configuration.DefaultLanguage); }
public Sentiment(SentimentConfiguration configuration) : this(configuration, new LanguageProcessor()) { }