Class CfnBot.CustomVocabularyItemProperty
Specifies an entry in a custom vocabulary.
Inheritance
System.Object
CfnBot.CustomVocabularyItemProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CustomVocabularyItemProperty : Object, CfnBot.ICustomVocabularyItemProperty
Syntax (vb)
Public Class CustomVocabularyItemProperty
Inherits Object
Implements CfnBot.ICustomVocabularyItemProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var customVocabularyItemProperty = new CustomVocabularyItemProperty {
Phrase = "phrase",
// the properties below are optional
DisplayAs = "displayAs",
Weight = 123
};
Synopsis
Constructors
CustomVocabularyItemProperty() |
Properties
DisplayAs | The DisplayAs value for the custom vocabulary item from the custom vocabulary list. |
Phrase | Specifies 1 - 4 words that should be recognized. |
Weight | Specifies the degree to which the phrase recognition is boosted. |
Constructors
CustomVocabularyItemProperty()
public CustomVocabularyItemProperty()
Properties
DisplayAs
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
public string DisplayAs { get; set; }
Property Value
System.String
Remarks
Phrase
Specifies 1 - 4 words that should be recognized.
public string Phrase { get; set; }
Property Value
System.String
Remarks
Weight
Specifies the degree to which the phrase recognition is boosted.
public Nullable<double> Weight { get; set; }
Property Value
System.Nullable<System.Double>