org.terrier.querying.summarisation
Class DefaultSummariser

java.lang.Object
  extended by org.terrier.querying.summarisation.Summariser
      extended by org.terrier.querying.summarisation.DefaultSummariser

public class DefaultSummariser
extends Summariser

Summariser that was originally in the Decorate class, and formed the Terrier release from 3.0

Since:
3.6
Author:
Vassilis Plachouras, Craig Macdonald, Eric Sutherland

Constructor Summary
DefaultSummariser()
           
 
Method Summary
 String generateSummary(String extract, String[] _qTerms)
          Returns the query biased summary extracted from the sample of the text of the document, based on the query terms.
 
Methods inherited from class org.terrier.querying.summarisation.Summariser
getSummariser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSummariser

public DefaultSummariser()
Method Detail

generateSummary

public String generateSummary(String extract,
                              String[] _qTerms)
Description copied from class: Summariser
Returns the query biased summary extracted from the sample of the text of the document, based on the query terms.

Specified by:
generateSummary in class Summariser
Parameters:
extract - sample of document text
Returns:
Query biased summary.


Terrier 3.6. Copyright © 2004-2011 University of Glasgow