public class SummarizerResult extends BaseResults
Modifier and Type | Field and Description |
---|---|
java.lang.String |
corpusConfig
Corpus configuration.
|
int |
maxSumSent
Maximum number of summary sentences.
|
java.lang.String |
summaryText
Summary text.
|
java.lang.String |
text
Text to summarize.
|
Constructor and Description |
---|
SummarizerResult()
Create empty summarizer results.
|
SummarizerResult(java.lang.String text,
java.lang.String corpusConfig,
int maxSumSent,
java.lang.String summaryText)
Create populated sentence splitter results.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toHTML()
Return HTML version of class entry values.
|
java.lang.String |
toString()
Return string version of class entry values.
|
append, appendLn, stringFromHTML, tabularDataBaseResults
public java.lang.String text
public java.lang.String corpusConfig
public int maxSumSent
public java.lang.String summaryText
public SummarizerResult()
public SummarizerResult(java.lang.String text, java.lang.String corpusConfig, int maxSumSent, java.lang.String summaryText)
text
- Text to tag.corpusConfig
- Corpus configuration.maxSumSent
- Maximum number of summary sentences.summaryText
- Summary text.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toHTML()
toHTML
in class BaseResults