C# Class NClassifier.Summarizer.SimpleSummarizer

Inheritance: ISummarizer
显示文件 Open project: colin-dumitru/Proiect-AI-2012---GUI Class Usage Examples

Public Methods

Method Description
Summarize ( string input, int numberOfSentences ) : string

Protected Methods

Method Description
GetMostFrequentWords ( int count, Hashtable wordFrequencies ) : ArrayList

Private Methods

Method Description
FindMaxValue ( ArrayList input ) : int
FindWordsWithFrequency ( Hashtable wordFrequencies, int frequency ) : string[]
ReorderSentences ( ArrayList outputSentences, string input ) : ArrayList

Method Details

GetMostFrequentWords() protected method

protected GetMostFrequentWords ( int count, Hashtable wordFrequencies ) : ArrayList
count int
wordFrequencies System.Collections.Hashtable
return System.Collections.ArrayList

Summarize() public method

public Summarize ( string input, int numberOfSentences ) : string
input string
numberOfSentences int
return string