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

CompositeEntityModel 类

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.runtime.models.CompositeEntityModel

public class CompositeEntityModel

LUIS 复合实体。

方法摘要

修饰符和类型 方法和描述
List<CompositeChildModel> children()

获取子级值。

String parentType()

获取 parentType 值。

String value()

获取值。

CompositeEntityModel withChildren(List<CompositeChildModel> children)

设置子级值。

CompositeEntityModel withParentType(String parentType)

设置 parentType 值。

CompositeEntityModel withValue(String value)

设置值。

方法详细信息

children

public List children()

获取子级值。

Returns:

子值

parentType

public String parentType()

获取 parentType 值。

Returns:

parentType 值

value

public String value()

获取值。

Returns:

withChildren

public CompositeEntityModel withChildren(List children)

设置子级值。

Parameters:

children - 要设置的子级值

Returns:

CompositeEntityModel 对象本身。

withParentType

public CompositeEntityModel withParentType(String parentType)

设置 parentType 值。

Parameters:

parentType - 要设置的 parentType 值

Returns:

CompositeEntityModel 对象本身。

withValue

public CompositeEntityModel withValue(String value)

设置值。

Parameters:

value - 要设置的值值

Returns:

CompositeEntityModel 对象本身。

适用于