你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DetectedLanguage Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. textanalytics. models. DetectedLanguage
- com.
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. |
Detected |
withIso6391Name(String iso6391Name)
Set the iso6391Name value. |
Detected |
withName(String name)
Set the name value. |
Detected |
withScore(Double score)
Set the score value. |
Method Details
iso6391Name
public String iso6391Name()
Get the iso6391Name value.
Returns:
name
public String name()
Get the name value.
Returns:
score
public Double score()
Get the score value.
Returns:
withIso6391Name
public DetectedLanguage withIso6391Name(String iso6391Name)
Set the iso6391Name value.
Parameters:
Returns:
withName
public DetectedLanguage withName(String name)
Set the name value.
Parameters:
Returns:
withScore
public DetectedLanguage withScore(Double score)
Set the score value.
Parameters:
Returns: