Class: Cielo24::TranscriptionOptions
- Inherits:
-
CommonOptions
- Object
- BaseOptions
- CommonOptions
- Cielo24::TranscriptionOptions
- 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.
-
#time_code_interval ⇒ Object
Returns the value of attribute time_code_interval.
-
#timecode_every_paragraph ⇒ Object
Returns the value of attribute timecode_every_paragraph.
-
#timecode_format ⇒ Object
Returns the value of attribute timecode_format.
-
#timecode_offset ⇒ Object
Returns the value of attribute timecode_offset.
Attributes inherited from CommonOptions
#characters_per_caption_line, #elementlist_version, #emit_speaker_change_token_as, #mask_profanity, #remove_sound_references, #remove_sounds_list, #replace_slang, #sound_boundaries
Instance Method Summary collapse
-
#initialize(create_paragraphs: nil, newlines_after_paragraph: nil, newlines_after_sentence: nil, timecode_every_paragraph: nil, timecode_format: nil, time_code_interval: nil, timecode_offset: nil) ⇒ TranscriptionOptions
constructor
A new instance of TranscriptionOptions.
Methods inherited from BaseOptions
#get_hash, #populate_from_hash, #populate_from_key_value_pair, #to_query
Constructor Details
#initialize(create_paragraphs: nil, newlines_after_paragraph: nil, newlines_after_sentence: nil, timecode_every_paragraph: nil, timecode_format: nil, time_code_interval: nil, timecode_offset: nil) ⇒ TranscriptionOptions
Returns a new instance of TranscriptionOptions.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/cielo24/options.rb', line 81 def initialize(create_paragraphs: nil, newlines_after_paragraph: nil, newlines_after_sentence: nil, timecode_every_paragraph: nil, timecode_format: nil, time_code_interval: nil, timecode_offset: nil) @create_paragraphs = create_paragraphs @newlines_after_paragraph = newlines_after_paragraph @newlines_after_sentence = newlines_after_sentence @timecode_every_paragraph = timecode_every_paragraph @timecode_format = timecode_format @time_code_interval = time_code_interval @timecode_offset = timecode_offset end |
Instance Attribute Details
#create_paragraphs ⇒ Object
Returns the value of attribute create_paragraphs.
73 74 75 |
# File 'lib/cielo24/options.rb', line 73 def create_paragraphs @create_paragraphs end |
#newlines_after_paragraph ⇒ Object
Returns the value of attribute newlines_after_paragraph.
74 75 76 |
# File 'lib/cielo24/options.rb', line 74 def newlines_after_paragraph @newlines_after_paragraph end |
#newlines_after_sentence ⇒ Object
Returns the value of attribute newlines_after_sentence.
75 76 77 |
# File 'lib/cielo24/options.rb', line 75 def newlines_after_sentence @newlines_after_sentence end |
#time_code_interval ⇒ Object
Returns the value of attribute time_code_interval.
78 79 80 |
# File 'lib/cielo24/options.rb', line 78 def time_code_interval @time_code_interval end |
#timecode_every_paragraph ⇒ Object
Returns the value of attribute timecode_every_paragraph.
76 77 78 |
# File 'lib/cielo24/options.rb', line 76 def timecode_every_paragraph @timecode_every_paragraph end |
#timecode_format ⇒ Object
Returns the value of attribute timecode_format.
77 78 79 |
# File 'lib/cielo24/options.rb', line 77 def timecode_format @timecode_format end |
#timecode_offset ⇒ Object
Returns the value of attribute timecode_offset.
79 80 81 |
# File 'lib/cielo24/options.rb', line 79 def timecode_offset @timecode_offset end |