org.terrier.querying.summarisation
Class Summariser

java.lang.Object
  extended by org.terrier.querying.summarisation.Summariser
Direct Known Subclasses:
DefaultSummariser

public abstract class Summariser
extends Object

Base class for query biased summarisers.

Since:
3.6

Constructor Summary
Summariser()
           
 
Method Summary
abstract  String generateSummary(String extract, String[] queryTerms)
          Returns the query biased summary extracted from the sample of the text of the document, based on the query terms.
static Summariser getSummariser()
          Obtain an instance of the current default summarised
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Summariser

public Summariser()
Method Detail

generateSummary

public abstract String generateSummary(String extract,
                                       String[] queryTerms)
Returns the query biased summary extracted from the sample of the text of the document, based on the query terms.

Parameters:
extract - sample of document text
queryTerms -
Returns:
Query biased summary.

getSummariser

public static Summariser getSummariser()
Obtain an instance of the current default summarised



Terrier 3.6. Copyright © 2004-2011 University of Glasgow