Class: Kaltura::KalturaTranscriptAsset

Inherits:
KalturaAttachmentAsset show all
Defined in:
lib/kaltura_plugins/kaltura_transcript_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaAttachmentAsset

#filename, #format, #status, #title

Attributes inherited from KalturaAsset

#actual_source_asset_params_ids, #created_at, #deleted_at, #description, #entry_id, #file_ext, #id, #partner_data, #partner_description, #partner_id, #size, #tags, #updated_at, #version

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#accuracyObject

The accuracy of the transcript - values between 0 and 1



47
48
49
# File 'lib/kaltura_plugins/kaltura_transcript_client_plugin.rb', line 47

def accuracy
  @accuracy
end

#human_verifiedObject

Was verified by human or machine



50
51
52
# File 'lib/kaltura_plugins/kaltura_transcript_client_plugin.rb', line 50

def human_verified
  @human_verified
end

#languageObject

The language of the transcript



53
54
55
# File 'lib/kaltura_plugins/kaltura_transcript_client_plugin.rb', line 53

def language
  @language
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



62
63
64
65
66
67
# File 'lib/kaltura_plugins/kaltura_transcript_client_plugin.rb', line 62

def from_xml(xml_element)
  super
  self.accuracy = xml_element.elements['accuracy'].text
  self.human_verified = xml_element.elements['humanVerified'].text
  self.language = xml_element.elements['language'].text
end