org.terrier.querying.summarisation
Class DefaultSummariser
java.lang.Object
org.terrier.querying.summarisation.Summariser
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSummariser
public DefaultSummariser()
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