DetectedLanguage Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.textanalytics.models.DetectedLanguage

public class DetectedLanguage

The DetectedLanguage model.

Method Summary

Modifier and Type Method and Description
String iso6391Name()

Get the iso6391Name value.

String name()

Get the name value.

Double score()

Get the score value.

DetectedLanguage withIso6391Name(String iso6391Name)

Set the iso6391Name value.

DetectedLanguage withName(String name)

Set the name value.

DetectedLanguage withScore(Double score)

Set the score value.

Method Details

iso6391Name

public String iso6391Name()

Get the iso6391Name value.

Returns:

the iso6391Name value

name

public String name()

Get the name value.

Returns:

the name value

score

public Double score()

Get the score value.

Returns:

the score value

withIso6391Name

public DetectedLanguage withIso6391Name(String iso6391Name)

Set the iso6391Name value.

Parameters:

iso6391Name - the iso6391Name value to set

Returns:

the DetectedLanguage object itself.

withName

public DetectedLanguage withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the DetectedLanguage object itself.

withScore

public DetectedLanguage withScore(Double score)

Set the score value.

Parameters:

score - the score value to set

Returns:

the DetectedLanguage object itself.

Applies to