Class: Cielo24::CaptionOptions
- Inherits:
-
CommonOptions
- Object
- BaseOptions
- CommonOptions
- Cielo24::CaptionOptions
- Defined in:
- lib/cielo24/options.rb
Instance Attribute Summary collapse
-
#build_url ⇒ Object
Returns the value of attribute build_url.
-
#caption_by_sentence ⇒ Object
Returns the value of attribute caption_by_sentence.
-
#caption_words_min ⇒ Object
Returns the value of attribute caption_words_min.
-
#characters_per_caption_line ⇒ Object
Returns the value of attribute characters_per_caption_line.
-
#dfxp_header ⇒ Object
Returns the value of attribute dfxp_header.
-
#disallow_dangling ⇒ Object
Returns the value of attribute disallow_dangling.
-
#display_effects_speaker_as ⇒ Object
Returns the value of attribute display_effects_speaker_as.
-
#display_speaker_id ⇒ Object
Returns the value of attribute display_speaker_id.
-
#force_case ⇒ Object
Returns the value of attribute force_case.
-
#include_dfxp_metadata ⇒ Object
Returns the value of attribute include_dfxp_metadata.
-
#layout_target_caption_length_ms ⇒ Object
Returns the value of attribute layout_target_caption_length_ms.
-
#line_break_on_sentence ⇒ Object
Returns the value of attribute line_break_on_sentence.
-
#line_ending_format ⇒ Object
Returns the value of attribute line_ending_format.
-
#lines_per_caption ⇒ Object
Returns the value of attribute lines_per_caption.
-
#maximum_caption_duration ⇒ Object
Returns the value of attribute maximum_caption_duration.
-
#merge_gap_interval ⇒ Object
Returns the value of attribute merge_gap_interval.
-
#minimum_caption_length_ms ⇒ Object
Returns the value of attribute minimum_caption_length_ms.
-
#minimum_gap_between_captions_ms ⇒ Object
Returns the value of attribute minimum_gap_between_captions_ms.
-
#qt_seamless ⇒ Object
Returns the value of attribute qt_seamless.
-
#silence_max_ms ⇒ Object
Returns the value of attribute silence_max_ms.
-
#single_speaker_per_caption ⇒ Object
Returns the value of attribute single_speaker_per_caption.
-
#sound_threshold ⇒ Object
Returns the value of attribute sound_threshold.
-
#sound_tokens_by_caption ⇒ Object
Returns the value of attribute sound_tokens_by_caption.
-
#sound_tokens_by_caption_list ⇒ Object
Returns the value of attribute sound_tokens_by_caption_list.
-
#sound_tokens_by_line ⇒ Object
Returns the value of attribute sound_tokens_by_line.
-
#sound_tokens_by_line_list ⇒ Object
Returns the value of attribute sound_tokens_by_line_list.
-
#speaker_on_new_line ⇒ Object
Returns the value of attribute speaker_on_new_line.
-
#srt_format ⇒ Object
Returns the value of attribute srt_format.
-
#strip_square_brackets ⇒ Object
Returns the value of attribute strip_square_brackets.
-
#utf8_mark ⇒ Object
Returns the value of attribute utf8_mark.
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 = {}) ⇒ CaptionOptions
constructor
A new instance of CaptionOptions.
Methods inherited from BaseOptions
#get_hash, #populate_from_hash, #populate_from_key_value_pair, #to_query
Constructor Details
#initialize(option_hash = {}) ⇒ CaptionOptions
Returns a new instance of CaptionOptions.
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'lib/cielo24/options.rb', line 122 def initialize(option_hash={}) @build_url = nil @caption_words_min = nil @caption_by_sentence = nil @characters_per_caption_line = nil @dfxp_header = nil @disallow_dangling = nil @display_effects_speaker_as = nil @display_speaker_id = nil @force_case = nil @include_dfxp_metadata = nil @layout_target_caption_length_ms = nil @line_break_on_sentence = nil @line_ending_format = nil @lines_per_caption = nil @maximum_caption_duration = nil @merge_gap_interval = nil @minimum_caption_length_ms = nil @minimum_gap_between_captions_ms = nil @qt_seamless = nil @silence_max_ms = nil @single_speaker_per_caption = nil @sound_threshold = nil @sound_tokens_by_caption = nil @sound_tokens_by_line = nil @sound_tokens_by_caption_list = nil @sound_tokens_by_line_list = nil @speaker_on_new_line = nil @srt_format = nil @strip_square_brackets = nil @utf8_mark = nil populate_from_hash(option_hash) end |
Instance Attribute Details
#build_url ⇒ Object
Returns the value of attribute build_url.
91 92 93 |
# File 'lib/cielo24/options.rb', line 91 def build_url @build_url end |
#caption_by_sentence ⇒ Object
Returns the value of attribute caption_by_sentence.
93 94 95 |
# File 'lib/cielo24/options.rb', line 93 def @caption_by_sentence end |
#caption_words_min ⇒ Object
Returns the value of attribute caption_words_min.
92 93 94 |
# File 'lib/cielo24/options.rb', line 92 def @caption_words_min end |
#characters_per_caption_line ⇒ Object
Returns the value of attribute characters_per_caption_line.
94 95 96 |
# File 'lib/cielo24/options.rb', line 94 def @characters_per_caption_line end |
#dfxp_header ⇒ Object
Returns the value of attribute dfxp_header.
95 96 97 |
# File 'lib/cielo24/options.rb', line 95 def dfxp_header @dfxp_header end |
#disallow_dangling ⇒ Object
Returns the value of attribute disallow_dangling.
96 97 98 |
# File 'lib/cielo24/options.rb', line 96 def disallow_dangling @disallow_dangling end |
#display_effects_speaker_as ⇒ Object
Returns the value of attribute display_effects_speaker_as.
97 98 99 |
# File 'lib/cielo24/options.rb', line 97 def display_effects_speaker_as @display_effects_speaker_as end |
#display_speaker_id ⇒ Object
Returns the value of attribute display_speaker_id.
98 99 100 |
# File 'lib/cielo24/options.rb', line 98 def display_speaker_id @display_speaker_id end |
#force_case ⇒ Object
Returns the value of attribute force_case.
99 100 101 |
# File 'lib/cielo24/options.rb', line 99 def force_case @force_case end |
#include_dfxp_metadata ⇒ Object
Returns the value of attribute include_dfxp_metadata.
100 101 102 |
# File 'lib/cielo24/options.rb', line 100 def @include_dfxp_metadata end |
#layout_target_caption_length_ms ⇒ Object
Returns the value of attribute layout_target_caption_length_ms.
101 102 103 |
# File 'lib/cielo24/options.rb', line 101 def @layout_target_caption_length_ms end |
#line_break_on_sentence ⇒ Object
Returns the value of attribute line_break_on_sentence.
102 103 104 |
# File 'lib/cielo24/options.rb', line 102 def line_break_on_sentence @line_break_on_sentence end |
#line_ending_format ⇒ Object
Returns the value of attribute line_ending_format.
103 104 105 |
# File 'lib/cielo24/options.rb', line 103 def line_ending_format @line_ending_format end |
#lines_per_caption ⇒ Object
Returns the value of attribute lines_per_caption.
104 105 106 |
# File 'lib/cielo24/options.rb', line 104 def @lines_per_caption end |
#maximum_caption_duration ⇒ Object
Returns the value of attribute maximum_caption_duration.
105 106 107 |
# File 'lib/cielo24/options.rb', line 105 def @maximum_caption_duration end |
#merge_gap_interval ⇒ Object
Returns the value of attribute merge_gap_interval.
106 107 108 |
# File 'lib/cielo24/options.rb', line 106 def merge_gap_interval @merge_gap_interval end |
#minimum_caption_length_ms ⇒ Object
Returns the value of attribute minimum_caption_length_ms.
107 108 109 |
# File 'lib/cielo24/options.rb', line 107 def @minimum_caption_length_ms end |
#minimum_gap_between_captions_ms ⇒ Object
Returns the value of attribute minimum_gap_between_captions_ms.
108 109 110 |
# File 'lib/cielo24/options.rb', line 108 def @minimum_gap_between_captions_ms end |
#qt_seamless ⇒ Object
Returns the value of attribute qt_seamless.
109 110 111 |
# File 'lib/cielo24/options.rb', line 109 def qt_seamless @qt_seamless end |
#silence_max_ms ⇒ Object
Returns the value of attribute silence_max_ms.
110 111 112 |
# File 'lib/cielo24/options.rb', line 110 def silence_max_ms @silence_max_ms end |
#single_speaker_per_caption ⇒ Object
Returns the value of attribute single_speaker_per_caption.
111 112 113 |
# File 'lib/cielo24/options.rb', line 111 def @single_speaker_per_caption end |
#sound_threshold ⇒ Object
Returns the value of attribute sound_threshold.
112 113 114 |
# File 'lib/cielo24/options.rb', line 112 def sound_threshold @sound_threshold end |
#sound_tokens_by_caption ⇒ Object
Returns the value of attribute sound_tokens_by_caption.
113 114 115 |
# File 'lib/cielo24/options.rb', line 113 def @sound_tokens_by_caption end |
#sound_tokens_by_caption_list ⇒ Object
Returns the value of attribute sound_tokens_by_caption_list.
115 116 117 |
# File 'lib/cielo24/options.rb', line 115 def @sound_tokens_by_caption_list end |
#sound_tokens_by_line ⇒ Object
Returns the value of attribute sound_tokens_by_line.
114 115 116 |
# File 'lib/cielo24/options.rb', line 114 def sound_tokens_by_line @sound_tokens_by_line end |
#sound_tokens_by_line_list ⇒ Object
Returns the value of attribute sound_tokens_by_line_list.
116 117 118 |
# File 'lib/cielo24/options.rb', line 116 def sound_tokens_by_line_list @sound_tokens_by_line_list end |
#speaker_on_new_line ⇒ Object
Returns the value of attribute speaker_on_new_line.
117 118 119 |
# File 'lib/cielo24/options.rb', line 117 def speaker_on_new_line @speaker_on_new_line end |
#srt_format ⇒ Object
Returns the value of attribute srt_format.
118 119 120 |
# File 'lib/cielo24/options.rb', line 118 def srt_format @srt_format end |
#strip_square_brackets ⇒ Object
Returns the value of attribute strip_square_brackets.
119 120 121 |
# File 'lib/cielo24/options.rb', line 119 def strip_square_brackets @strip_square_brackets end |
#utf8_mark ⇒ Object
Returns the value of attribute utf8_mark.
120 121 122 |
# File 'lib/cielo24/options.rb', line 120 def utf8_mark @utf8_mark end |