public final class LanguageDetectionResult extends Object
| Constructor and Description |
|---|
LanguageDetectionResult(com.basistech.util.LanguageCode language,
Double confidence)
Constructor for
LanguageDetectionResult |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
if the param is a
LanguageDetectionResult, compare contents for equality |
Double |
getConfidence()
get the detection confidence
|
com.basistech.util.LanguageCode |
getLanguage()
get the detected language
|
int |
hashCode() |
public LanguageDetectionResult(com.basistech.util.LanguageCode language,
Double confidence)
LanguageDetectionResultlanguage - detected languageconfidence - detection confidencepublic com.basistech.util.LanguageCode getLanguage()
public Double getConfidence()
Copyright © 2014–2016 Basis Technology Corp.. All rights reserved.