DetectedLanguage Class

Definition

The DetectedLanguage model.

public final class DetectedLanguage
Inheritance
java.lang.Object
DetectedLanguage

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

DetectedLanguage()

Methods

getConfidenceScore()

Get the confidenceScore property: A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true.

getIso6391Name()

Get the iso6391Name property: A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr).

getName()

Get the name property: Long name of a detected language (e.g. English, French).

setConfidenceScore(double confidenceScore)

Set the confidenceScore property: A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true.

setIso6391Name(String iso6391Name)

Set the iso6391Name property: A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr).

setName(String name)

Set the name property: Long name of a detected language (e.g. English, French).

Applies to