Class 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

      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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSummariser

        public DefaultSummariser()
    • 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 class Summariser
        Parameters:
        extract - sample of document text
        Returns:
        Query biased summary.