Interface CfnBot.ICustomVocabularyItemProperty
Specifies an entry in a custom vocabulary.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public interface ICustomVocabularyItemProperty
Syntax (vb)
Public Interface 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
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. |
Properties
DisplayAs
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
virtual string DisplayAs { get; }
Property Value
System.String
Remarks
Phrase
Specifies 1 - 4 words that should be recognized.
string Phrase { get; }
Property Value
System.String
Remarks
Weight
Specifies the degree to which the phrase recognition is boosted.
virtual Nullable<double> Weight { get; }
Property Value
System.Nullable<System.Double>