Interface Summarizer
-
- All Known Implementing Classes:
DefaultSummarizer
public interface Summarizer
- Since:
- 8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Summary
getSummary(String text)
Summary
getSummary(String text, String query)
Returns a summary for the given pre-tokenized text.
-
-
-
Method Detail
-
getSummary
Summary getSummary(String text) throws IOException
- Throws:
IOException
-
getSummary
Summary getSummary(String text, String query) throws IOException
Returns a summary for the given pre-tokenized text.- Parameters:
text
- a pre-tokenized text.query
- the supplied query- Returns:
- summary for the given pre-tokenized text.
- Throws:
IOException
-
-