org.apache.nutch.searcher
Interface Summarizer
- All Superinterfaces:
- Configurable, Pluggable
- All Known Implementing Classes:
- BasicSummarizer, LuceneSummarizer
public interface Summarizer
- extends Configurable, Pluggable
Extension point for summarizer.
- Author:
- Jérôme Charron
X_POINT_ID
static final String X_POINT_ID
- The name of the extension point.
getSummary
Summary getSummary(String text,
Query query)
- Get a summary for a specified text.
- Parameters:
text
- is the text to summarize.query
- is the query for which the text is a hit.
Copyright © 2006 The Apache Software Foundation