Class: Cielo24::TranscriptOptions
- Inherits:
-
CommonOptions
- Object
- BaseOptions
- CommonOptions
- Cielo24::TranscriptOptions
- Defined in:
- lib/cielo24/options.rb
Instance Attribute Summary collapse
-
#create_paragraphs ⇒ Object
Returns the value of attribute create_paragraphs.
-
#newlines_after_paragraph ⇒ Object
Returns the value of attribute newlines_after_paragraph.
-
#newlines_after_sentence ⇒ Object
Returns the value of attribute newlines_after_sentence.
-
#timecode_every_paragraph ⇒ Object
Returns the value of attribute timecode_every_paragraph.
-
#timecode_format ⇒ Object
Returns the value of attribute timecode_format.
-
#timecode_interval ⇒ Object
Returns the value of attribute timecode_interval.
-
#timecode_offset ⇒ Object
Returns the value of attribute timecode_offset.
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
-
#initialize(option_hash = {}) ⇒ TranscriptOptions
constructor
A new instance of TranscriptOptions.
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_paragraphs ⇒ Object
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_paragraph ⇒ Object
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_sentence ⇒ Object
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_paragraph ⇒ Object
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_format ⇒ Object
Returns the value of attribute timecode_format.
73 74 75 |
# File 'lib/cielo24/options.rb', line 73 def timecode_format @timecode_format end |
#timecode_interval ⇒ Object
Returns the value of attribute timecode_interval.
74 75 76 |
# File 'lib/cielo24/options.rb', line 74 def timecode_interval @timecode_interval end |
#timecode_offset ⇒ Object
Returns the value of attribute timecode_offset.
75 76 77 |
# File 'lib/cielo24/options.rb', line 75 def timecode_offset @timecode_offset end |