Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::PhraselistUpdateObject
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V2_0::Models::PhraselistUpdateObject
- Includes:
- MsRestAzure
- Defined in:
- lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb
Overview
Object model for updating a Phraselist.
Instance Attribute Summary collapse
-
#is_active ⇒ Boolean
value: true .
-
#is_exchangeable ⇒ Boolean
single feature to the LUIS underlying training algorithm.
-
#name ⇒ String
The Phraselist name.
-
#phrases ⇒ String
Phraselist.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PhraselistUpdateObject class as Ruby Hash.
Instance Attribute Details
#is_active ⇒ Boolean
value: true .
24 25 26 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb', line 24 def is_active @is_active end |
#is_exchangeable ⇒ Boolean
single feature to the LUIS underlying training algorithm. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn’t. Think of an exchangeable as a synonyms list. A non-exchangeable phrase list feature has all the phrases in the list serve as separate features to the underlying training algorithm. So, if you your phrase list feature contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-exchangeable phrase list feature as an additional bag of words that you are willing to add to LUIS existing vocabulary features. Think of a non-exchangeable as set of different words. Default value is true. Default value: true .
38 39 40 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb', line 38 def is_exchangeable @is_exchangeable end |
#name ⇒ String
Returns The Phraselist name.
20 21 22 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb', line 20 def name @name end |
#phrases ⇒ String
Phraselist.
17 18 19 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb', line 17 def phrases @phrases end |
Class Method Details
.mapper ⇒ Object
Mapper for PhraselistUpdateObject class as Ruby Hash. This will be used for serialization/deserialization.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb', line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PhraselistUpdateObject', type: { name: 'Composite', class_name: 'PhraselistUpdateObject', model_properties: { phrases: { client_side_validation: true, required: false, serialized_name: 'phrases', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, is_active: { client_side_validation: true, required: false, serialized_name: 'isActive', default_value: true, type: { name: 'Boolean' } }, is_exchangeable: { client_side_validation: true, required: false, serialized_name: 'isExchangeable', default_value: true, type: { name: 'Boolean' } } } } } end |