public class LanguageRecognizerResult extends BaseResults
Modifier and Type | Field and Description |
---|---|
java.util.List<ScoredLanguage> |
languages
Candidate languages and scores.
|
java.lang.String |
text
Text for which to find candidate languages.
|
Constructor and Description |
---|
LanguageRecognizerResult()
Create empty language recognition results.
|
LanguageRecognizerResult(java.lang.String text,
java.util.List<ScoredLanguage> languages)
Create populated language recognition results.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Return string version of class entry values.
|
append, appendLn, stringFromHTML, tabularDataBaseResults, toHTML
public java.lang.String text
@XStreamConverter(value=LanguageListConverter.class) public java.util.List<ScoredLanguage> languages
public LanguageRecognizerResult()
public LanguageRecognizerResult(java.lang.String text, java.util.List<ScoredLanguage> languages)
text
- Text for which to find candidate languages.languages
- Candidate languages as scored strings.