/// <summary> /// Initializes a new instance of the <see cref="AbstractSummarizer"/> class with a specified stopword provider. /// </summary> /// <param name="stopwordProvider">The stopword provider.</param> protected AbstractSummarizer(IStopwordProvider stopwordProvider) : this() { this.stopwordProvider = stopwordProvider; }
/// <summary> /// Initializes a new instance of the <see cref="AbstractSummarizer"/> class with a specified stopword provider. /// </summary> /// <param name="stopwordProvider">The stopword provider.</param> protected AbstractSummarizer(IStopwordProvider stopwordProvider) : this() { this.stopwordProvider = stopwordProvider; }
/// <summary> /// Initializes a new instance of the <see cref="SimpleSummarizer" /> class. /// </summary> /// <param name="stopwordProvider">The stopword provider.</param> /// <param name="method">The summarization method.</param> public SimpleSummarizer(IStopwordProvider stopwordProvider, SimpleSummarizerMethods method) : base(stopwordProvider) { NumberOfSentences = 5; Method = method; }
/// <summary> /// Initializes a new instance of the <see cref="SimpleSummarizer" /> class. /// </summary> /// <param name="stopwordProvider">The stopword provider.</param> /// <param name="method">The summarization method.</param> public SimpleSummarizer(IStopwordProvider stopwordProvider, SimpleSummarizerMethods method) : base(stopwordProvider) { NumberOfSentences = 5; Method = method; }