RegexEntity クラス
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. RegexEntity
- com.
public class RegexEntity
正規表現エンティティ抽出器。
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
| String |
name()
名前の値を取得します。 |
| String |
regexPattern()
regexPattern 値を取得します。 |
| List<String> |
roles()
ロールの値を取得します。 |
|
Regex |
withName(String name)
名前の値を設定します。 |
|
Regex |
withRegexPattern(String regexPattern)
regexPattern 値を設定します。 |
|
Regex |
withRoles(List<String> roles)
ロールの値を設定します。 |
メソッドの詳細
name
public String name()
名前の値を取得します。
Returns:
regexPattern
public String regexPattern()
regexPattern 値を取得します。
Returns:
roles
public List
ロールの値を取得します。
Returns:
withName
public RegexEntity withName(String name)
名前の値を設定します。
Parameters:
Returns:
withRegexPattern
public RegexEntity withRegexPattern(String regexPattern)
regexPattern 値を設定します。
Parameters:
Returns:
withRoles
public RegexEntity withRoles(List
ロールの値を設定します。
Parameters:
Returns: