gr.demokritos.iit.summarization.selection
Class RedundancyBasedSelector<TSentenceType,TTokenType>

java.lang.Object
  extended by gr.demokritos.iit.summarization.selection.NoveltyBasedSelector<TSentenceType,TTokenType>
      extended by gr.demokritos.iit.summarization.selection.RedundancyBasedSelector<TSentenceType,TTokenType>
All Implemented Interfaces:
ISentenceSelector<TSentenceType,TTokenType>

public class RedundancyBasedSelector<TSentenceType,TTokenType>
extends NoveltyBasedSelector<TSentenceType,TTokenType>


Field Summary
 
Fields inherited from class gr.demokritos.iit.summarization.selection.NoveltyBasedSelector
Comparator, MaxSentencesSelected, PreexistingText, SentenceRepresentationFilter
 
Constructor Summary
RedundancyBasedSelector(java.lang.String sPreexistingText)
           
 
Method Summary
protected  void initComparator()
          Makes sure the comparator is not null.
 java.util.List<TSentenceType> selectFromSentences(java.util.List<TSentenceType> sSentences)
          Selects a sentence subset of a given sentence set.
 
Methods inherited from class gr.demokritos.iit.summarization.selection.NoveltyBasedSelector
initSentenceRepresentationFilter, selectSentence, sentenceSelectionConfidence, setPreexistingText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedundancyBasedSelector

public RedundancyBasedSelector(java.lang.String sPreexistingText)
Method Detail

initComparator

protected void initComparator()
Makes sure the comparator is not null.

Overrides:
initComparator in class NoveltyBasedSelector<TSentenceType,TTokenType>

selectFromSentences

public java.util.List<TSentenceType> selectFromSentences(java.util.List<TSentenceType> sSentences)
Description copied from interface: ISentenceSelector
Selects a sentence subset of a given sentence set.

Specified by:
selectFromSentences in interface ISentenceSelector<TSentenceType,TTokenType>
Overrides:
selectFromSentences in class NoveltyBasedSelector<TSentenceType,TTokenType>