edu.northwestern.at.morphadorner.corpuslinguistics.textsummarizer

## Interface TextSummarizer

- All Known Implementing Classes:
    AbstractTextSummarizer, DefaultTextSummarizer, SimpleTextSummarizer

      public interface TextSummarizer

  Defines an interface for summarizing a text.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T extends java.lang.Comparable> java.util.List<java.lang.Integer>` | `summarize(java.util.List<java.util.List<T>> sentences)` Summarize text.
    `<T extends java.lang.Comparable> java.util.List<java.lang.Integer>` | `summarize(java.util.List<java.util.List<T>> sentences, int summarySentences)` Summarize text.

- - ### Method Detail

    - #### summarize

          <T extends java.lang.Comparable> java.util.List<java.lang.Integer> summarize(java.util.List<java.util.List<T>> sentences)

      Summarize text.
      Parameters:
        `sentences` - Tokenized sentences to summarize.
      Returns:
        Summary of the input text. The maximum number of sentences returned is 10% of the original.

    - #### summarize

          <T extends java.lang.Comparable> java.util.List<java.lang.Integer> summarize(java.util.List<java.util.List<T>> sentences,
                                                                                     int summarySentences)

      Summarize text.
      Parameters:
        `sentences` - Tokenized sentences to summarize.
        `summarySentences` - Maximum number of sentences to return in the summary.
      Returns:
        Summary of the input text.