Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
        /// <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;
        }
Ejemplo n.º 4
0
        /// <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;
        }