class Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem
Model object.
Attributes
id[RW]
@return [String] Unique document identifier.
key_phrases[RW]
@return [Array<String>] A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document.
Public Class Methods
mapper()
click to toggle source
Mapper for KeyPhraseBatchResultItem
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/v2.0/generated/azure_cognitiveservices_textanalytics/models/key_phrase_batch_result_item.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KeyPhraseBatchResultItem', type: { name: 'Composite', class_name: 'KeyPhraseBatchResultItem', model_properties: { key_phrases: { client_side_validation: true, required: false, read_only: true, serialized_name: 'keyPhrases', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } } } } } end