Class: Cielo24::TranscriptOptions

Inherits:
CommonOptions show all
Defined in:
lib/cielo24/options.rb

Instance Attribute Summary collapse

Attributes inherited from CommonOptions

#elementlist_version, #emit_speaker_change_token_as, #mask_profanity, #remove_disfluencies, #remove_sound_references, #remove_sounds_list, #replace_slang, #sound_boundaries

Instance Method Summary collapse

Methods inherited from BaseOptions

#get_hash, #populate_from_hash, #populate_from_key_value_pair, #to_query

Constructor Details

#initialize(option_hash = {}) ⇒ TranscriptOptions

Returns a new instance of TranscriptOptions.



77
78
79
80
81
82
83
84
85
86
# File 'lib/cielo24/options.rb', line 77

def initialize(option_hash={})
  @create_paragraphs = nil
  @newlines_after_paragraph = nil
  @newlines_after_sentence = nil
  @timecode_every_paragraph = nil
  @timecode_format = nil
  @timecode_interval = nil
  @timecode_offset = nil
  populate_from_hash(option_hash)
end

Instance Attribute Details

#create_paragraphsObject

Returns the value of attribute create_paragraphs.



69
70
71
# File 'lib/cielo24/options.rb', line 69

def create_paragraphs
  @create_paragraphs
end

#newlines_after_paragraphObject

Returns the value of attribute newlines_after_paragraph.



70
71
72
# File 'lib/cielo24/options.rb', line 70

def newlines_after_paragraph
  @newlines_after_paragraph
end

#newlines_after_sentenceObject

Returns the value of attribute newlines_after_sentence.



71
72
73
# File 'lib/cielo24/options.rb', line 71

def newlines_after_sentence
  @newlines_after_sentence
end

#timecode_every_paragraphObject

Returns the value of attribute timecode_every_paragraph.



72
73
74
# File 'lib/cielo24/options.rb', line 72

def timecode_every_paragraph
  @timecode_every_paragraph
end

#timecode_formatObject

Returns the value of attribute timecode_format.



73
74
75
# File 'lib/cielo24/options.rb', line 73

def timecode_format
  @timecode_format
end

#timecode_intervalObject

Returns the value of attribute timecode_interval.



74
75
76
# File 'lib/cielo24/options.rb', line 74

def timecode_interval
  @timecode_interval
end

#timecode_offsetObject

Returns the value of attribute timecode_offset.



75
76
77
# File 'lib/cielo24/options.rb', line 75

def timecode_offset
  @timecode_offset
end