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

JSONModelFeature 类

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

public class JSONModelFeature

导出的模型 - 短语列表模型功能。

方法摘要

修饰符和类型 方法和描述
Boolean activated()

获取激活的值。

Boolean enabledForAllModels()

获取 enabledForAllModels 值。

Boolean mode()

获取模式值。

String name()

获取名称值。

JSONModelFeature withActivated(Boolean activated)

设置激活的值。

JSONModelFeature withEnabledForAllModels(Boolean enabledForAllModels)

设置 enabledForAllModels 值。

JSONModelFeature withMode(Boolean mode)

设置模式值。

JSONModelFeature withName(String name)

设置名称值。

JSONModelFeature withWords(String words)

设置单词值。

String words()

获取单词值。

方法详细信息

activated

public Boolean activated()

获取激活的值。

Returns:

激活的值

enabledForAllModels

public Boolean enabledForAllModels()

获取 enabledForAllModels 值。

Returns:

enabledForAllModels 值

mode

public Boolean mode()

获取模式值。

Returns:

模式值

name

public String name()

获取名称值。

Returns:

名称值

withActivated

public JSONModelFeature withActivated(Boolean activated)

设置激活的值。

Parameters:

activated - 要设置的激活值

Returns:

JSONModelFeature 对象本身。

withEnabledForAllModels

public JSONModelFeature withEnabledForAllModels(Boolean enabledForAllModels)

设置 enabledForAllModels 值。

Parameters:

enabledForAllModels - 要设置的 enabledForAllModels 值

Returns:

JSONModelFeature 对象本身。

withMode

public JSONModelFeature withMode(Boolean mode)

设置模式值。

Parameters:

mode - 要设置的模式值

Returns:

JSONModelFeature 对象本身。

withName

public JSONModelFeature withName(String name)

设置名称值。

Parameters:

name - 要设置的名称值

Returns:

JSONModelFeature 对象本身。

withWords

public JSONModelFeature withWords(String words)

设置单词值。

Parameters:

words - 要设置的单词值

Returns:

JSONModelFeature 对象本身。

words

public String words()

获取单词值。

Returns:

words 值

适用于