RegexEntityExtractor Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. RegexEntityExtractor
- com.
public class RegexEntityExtractor
Regular Expression Entity Extractor.
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
id()
Get the id value. |
String |
name()
Get the name value. |
String |
readableType()
Get the readableType value. |
String |
regexPattern()
Get the regexPattern value. |
List<Entity |
roles()
Get the roles value. |
Integer |
typeId()
Get the typeId value. |
Regex |
withId(UUID id)
Set the id value. |
Regex |
withName(String name)
Set the name value. |
Regex |
withReadableType(String readableType)
Set the readableType value. |
Regex |
withRegexPattern(String regexPattern)
Set the regexPattern value. |
Regex |
withRoles(List<EntityRole> roles)
Set the roles value. |
Regex |
withTypeId(Integer typeId)
Set the typeId value. |
Method Details
id
public UUID id()
Get the id value.
Returns:
name
public String name()
Get the name value.
Returns:
readableType
public String readableType()
Get the readableType value.
Returns:
regexPattern
public String regexPattern()
Get the regexPattern value.
Returns:
roles
public List
Get the roles value.
Returns:
typeId
public Integer typeId()
Get the typeId value.
Returns:
withId
public RegexEntityExtractor withId(UUID id)
Set the id value.
Parameters:
Returns:
withName
public RegexEntityExtractor withName(String name)
Set the name value.
Parameters:
Returns:
withReadableType
public RegexEntityExtractor withReadableType(String readableType)
Set the readableType value.
Parameters:
Returns:
withRegexPattern
public RegexEntityExtractor withRegexPattern(String regexPattern)
Set the regexPattern value.
Parameters:
Returns:
withRoles
public RegexEntityExtractor withRoles(List
Set the roles value.
Parameters:
Returns:
withTypeId
public RegexEntityExtractor withTypeId(Integer typeId)
Set the typeId value.
Parameters:
Returns: