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

PatternRule Class

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

public class PatternRule

Pattern.

Method Summary

Modifier and Type Method and Description
String intent()

Get the intent value.

String pattern()

Get the pattern value.

PatternRule withIntent(String intent)

Set the intent value.

PatternRule withPattern(String pattern)

Set the pattern value.

Method Details

intent

public String intent()

Get the intent value.

Returns:

the intent value

pattern

public String pattern()

Get the pattern value.

Returns:

the pattern value

withIntent

public PatternRule withIntent(String intent)

Set the intent value.

Parameters:

intent - the intent value to set

Returns:

the PatternRule object itself.

withPattern

public PatternRule withPattern(String pattern)

Set the pattern value.

Parameters:

pattern - the pattern value to set

Returns:

the PatternRule object itself.

Applies to