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

JSONUtterance Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.JSONUtterance

public class JSONUtterance

Exported Model - Utterance that was used to train the model.

Method Summary

Modifier and Type Method and Description
List<JSONEntity> entities()

Get the entities value.

String intent()

Get the intent value.

String text()

Get the text value.

JSONUtterance withEntities(List<JSONEntity> entities)

Set the entities value.

JSONUtterance withIntent(String intent)

Set the intent value.

JSONUtterance withText(String text)

Set the text value.

Method Details

entities

public List entities()

Get the entities value.

Returns:

the entities value

intent

public String intent()

Get the intent value.

Returns:

the intent value

text

public String text()

Get the text value.

Returns:

the text value

withEntities

public JSONUtterance withEntities(List entities)

Set the entities value.

Parameters:

entities - the entities value to set

Returns:

the JSONUtterance object itself.

withIntent

public JSONUtterance withIntent(String intent)

Set the intent value.

Parameters:

intent - the intent value to set

Returns:

the JSONUtterance object itself.

withText

public JSONUtterance withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the JSONUtterance object itself.

Applies to