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
-
-
Constructor Summary
Constructors Constructor Description DefaultSummariser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateSummary(java.lang.String extract, java.lang.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 org.terrier.querying.summarisation.Summariser
getSummariser
-
-
-
-
Method Detail
-
generateSummary
public java.lang.String generateSummary(java.lang.String extract, java.lang.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 classSummariser
- Parameters:
extract
- sample of document text- Returns:
- Query biased summary.
-
-