Class Summariser
- java.lang.Object
-
- org.terrier.querying.summarisation.Summariser
-
- Direct Known Subclasses:
DefaultSummariser
public abstract class Summariser extends java.lang.Object
Base class for query biased summarisers.- Since:
- 3.6
-
-
Constructor Summary
Constructors Constructor Description Summariser()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.String
generateSummary(java.lang.String extract, java.lang.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
-
-
-
Method Detail
-
generateSummary
public abstract java.lang.String generateSummary(java.lang.String extract, java.lang.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
-
-