你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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