public abstract class Summariser extends Object
Constructor and Description |
---|
Summariser() |
Modifier and Type | Method and Description |
---|---|
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
|
public abstract String generateSummary(String extract, String[] queryTerms)
extract
- sample of document textqueryTerms
- public static Summariser getSummariser()
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow