org.terrier.querying.summarisation
Class Summariser
java.lang.Object
org.terrier.querying.summarisation.Summariser
- Direct Known Subclasses:
- DefaultSummariser
public abstract class Summariser
- extends Object
Base class for query biased summarisers.
- Since:
- 3.6
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 |
Summariser
public Summariser()
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 textqueryTerms
-
- 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