public class LanguageDetection extends Attribute
LanguageDetection.DetectionResult
,
to reflect the multiple alternatives produced by language detectors.Modifier and Type | Class and Description |
---|---|
static class |
LanguageDetection.Builder
A builder for language detection results.
|
static class |
LanguageDetection.DetectionResult
A single result from language detection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<LanguageDetection.DetectionResult> |
getDetectionResults()
Returns the detection results, in order from best to worst confidence.
|
int |
hashCode() |
getEndOffset, getStartOffset
getExtendedProperties, toString
public List<LanguageDetection.DetectionResult> getDetectionResults()
Copyright © 2016 Basis Technology Corporation. All Rights Reserved.