public final class CustomEntity extends Object
Constructor and Description |
---|
CustomEntity(String name)
Creates an instance of CustomEntity class.
|
Modifier and Type | Method and Description |
---|---|
List<CustomEntityAlias> |
getAliases()
Get the aliases property: An array of complex objects that can be used to specify alternative spellings or
synonyms to the root entity name.
|
Integer |
getDefaultFuzzyEditDistance()
Get the defaultFuzzyEditDistance property: Changes the default fuzzy edit distance value for this entity.
|
String |
getDescription()
Get the description property: This field can be used as a passthrough for custom metadata about the matched
text(s).
|
Integer |
getFuzzyEditDistance()
Get the fuzzyEditDistance property: Defaults to 0.
|
String |
getId()
Get the id property: This field can be used as a passthrough for custom metadata about the matched text(s).
|
String |
getName()
Get the name property: The top-level entity descriptor.
|
String |
getSubtype()
Get the subtype property: This field can be used as a passthrough for custom metadata about the matched text(s).
|
String |
getType()
Get the type property: This field can be used as a passthrough for custom metadata about the matched text(s).
|
Boolean |
isAccentSensitive()
Get the accentSensitive property: Defaults to false.
|
Boolean |
isCaseSensitive()
Get the caseSensitive property: Defaults to false.
|
Boolean |
isDefaultAccentSensitive()
Get the defaultAccentSensitive property: Changes the default accent sensitivity value for this entity.
|
Boolean |
isDefaultCaseSensitive()
Get the defaultCaseSensitive property: Changes the default case sensitivity value for this entity.
|
CustomEntity |
setAccentSensitive(Boolean accentSensitive)
Set the accentSensitive property: Defaults to false.
|
CustomEntity |
setAliases(List<CustomEntityAlias> aliases)
Set the aliases property: An array of complex objects that can be used to specify alternative spellings or
synonyms to the root entity name.
|
CustomEntity |
setCaseSensitive(Boolean caseSensitive)
Set the caseSensitive property: Defaults to false.
|
CustomEntity |
setDefaultAccentSensitive(Boolean defaultAccentSensitive)
Set the defaultAccentSensitive property: Changes the default accent sensitivity value for this entity.
|
CustomEntity |
setDefaultCaseSensitive(Boolean defaultCaseSensitive)
Set the defaultCaseSensitive property: Changes the default case sensitivity value for this entity.
|
CustomEntity |
setDefaultFuzzyEditDistance(Integer defaultFuzzyEditDistance)
Set the defaultFuzzyEditDistance property: Changes the default fuzzy edit distance value for this entity.
|
CustomEntity |
setDescription(String description)
Set the description property: This field can be used as a passthrough for custom metadata about the matched
text(s).
|
CustomEntity |
setFuzzyEditDistance(Integer fuzzyEditDistance)
Set the fuzzyEditDistance property: Defaults to 0.
|
CustomEntity |
setId(String id)
Set the id property: This field can be used as a passthrough for custom metadata about the matched text(s).
|
CustomEntity |
setSubtype(String subtype)
Set the subtype property: This field can be used as a passthrough for custom metadata about the matched text(s).
|
CustomEntity |
setType(String type)
Set the type property: This field can be used as a passthrough for custom metadata about the matched text(s).
|
public CustomEntity(String name)
name
- the name value to set.public String getName()
public String getDescription()
public CustomEntity setDescription(String description)
description
- the description value to set.public String getType()
public CustomEntity setType(String type)
type
- the type value to set.public String getSubtype()
public CustomEntity setSubtype(String subtype)
subtype
- the subtype value to set.public String getId()
public CustomEntity setId(String id)
id
- the id value to set.public Boolean isCaseSensitive()
public CustomEntity setCaseSensitive(Boolean caseSensitive)
caseSensitive
- the caseSensitive value to set.public Boolean isAccentSensitive()
public CustomEntity setAccentSensitive(Boolean accentSensitive)
accentSensitive
- the accentSensitive value to set.public Integer getFuzzyEditDistance()
public CustomEntity setFuzzyEditDistance(Integer fuzzyEditDistance)
fuzzyEditDistance
- the fuzzyEditDistance value to set.public Boolean isDefaultCaseSensitive()
public CustomEntity setDefaultCaseSensitive(Boolean defaultCaseSensitive)
defaultCaseSensitive
- the defaultCaseSensitive value to set.public Boolean isDefaultAccentSensitive()
public CustomEntity setDefaultAccentSensitive(Boolean defaultAccentSensitive)
defaultAccentSensitive
- the defaultAccentSensitive value to set.public Integer getDefaultFuzzyEditDistance()
public CustomEntity setDefaultFuzzyEditDistance(Integer defaultFuzzyEditDistance)
defaultFuzzyEditDistance
- the defaultFuzzyEditDistance value to set.public List<CustomEntityAlias> getAliases()
public CustomEntity setAliases(List<CustomEntityAlias> aliases)
aliases
- the aliases value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.