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 4.0. Copyright © 2004-2014 University of Glasgow