コード例 #1
0
 public function __construct(DateTime $elementListVersion = null, $speakerChangeToken = null, $maskProfanity = null, $removeDisfluencies = null, array $removeSoundsList = null, $removeSoundReferences = null, $replaceSlang = null, array $soundBoundaries = null, $buildUri = null, $captionWordsMin = null, $captionBySentence = null, $charactersPerCaptionLine = null, $dfxpHeader = null, $disallowDangling = null, $effectsSpeaker = null, $displaySpeakerId = null, $forceCase = null, $includeDfxpMetadata = null, $layoutDefaultCaptionLengthMs = null, $lineBreakOnSentence = null, $lineEndingFormat = null, $linesPerCaption = null, $maximumCaptionDuration = null, $mergeGapInterval = null, $minimumCaptionLengthMs = null, $minimumGapBetweenCaptionsMs = null, $minimumMergeGapInterval = null, $qtSeamless = null, $silenceMaxMs = null, $singleSpeakerPerCaption = null, $soundThreshold = null, $soundTokensByCaption = null, $soundTokensByLine = null, array $soundTokensByCaptionList = null, array $soundTokensByLineList = null, $speakerOnNewLine = null, $srtFormat = null, $stripSquareBrackets = null, $utf8_mark = null)
 {
     parent::__construct($elementListVersion, $speakerChangeToken, $maskProfanity, $removeDisfluencies, $removeSoundsList, $removeSoundReferences, $replaceSlang, $soundBoundaries);
     $this->build_url = $buildUri;
     $this->caption_words_min = $captionWordsMin;
     $this->caption_by_sentence = $captionBySentence;
     $this->characters_per_caption_line = $charactersPerCaptionLine;
     $this->dfxp_header = $dfxpHeader;
     $this->disallow_dangling = $disallowDangling;
     $this->display_effects_speaker_as = $effectsSpeaker;
     $this->display_speaker_id = $displaySpeakerId;
     $this->force_case = $forceCase;
     $this->include_dfxp_metadata = $includeDfxpMetadata;
     $this->layout_target_caption_length_ms = $layoutDefaultCaptionLengthMs;
     $this->line_break_on_sentence = $lineBreakOnSentence;
     $this->line_ending_format = $lineEndingFormat;
     $this->lines_per_caption = $linesPerCaption;
     $this->maximum_caption_duration = $maximumCaptionDuration;
     $this->merge_gap_interval = $mergeGapInterval;
     $this->minimum_caption_length_ms = $minimumCaptionLengthMs;
     $this->minimum_gap_between_captions_ms = $minimumGapBetweenCaptionsMs;
     $this->minimum_merge_gap_interval = $minimumMergeGapInterval;
     $this->qt_seamless = $qtSeamless;
     $this->silence_max_ms = $silenceMaxMs;
     $this->single_speaker_per_caption = $singleSpeakerPerCaption;
     $this->sound_threshold = $soundThreshold;
     $this->sound_tokens_by_caption = $soundTokensByCaption;
     $this->sound_tokens_by_line = $soundTokensByLine;
     $this->sound_tokens_by_caption_list = $soundTokensByCaptionList;
     $this->sound_tokens_by_line_list = $soundTokensByLineList;
     $this->speaker_on_new_line = $speakerOnNewLine;
     $this->srt_format = $srtFormat;
     $this->strip_square_brackets = $stripSquareBrackets;
     $this->utf8_mark = $utf8_mark;
 }
コード例 #2
0
 public function __construct(DateTime $elementListVersion = null, $speakerChangeToken = null, $maskProfanity = null, $removeDisfluencies = null, array $removeSoundsList = null, $removeSoundReferences = null, $replaceSlang = null, array $soundBoundaries = null, $createParagraphs = null, $newLinesAfterParagraph = null, $newLinesAfterSentence = null, $timecodeEveryParagraph = null, $timecodeFormat = null, $timecodeInterval = null, $timecodeOffset = null)
 {
     parent::__construct($elementListVersion, $speakerChangeToken, $maskProfanity, $removeDisfluencies, $removeSoundsList, $removeSoundReferences, $replaceSlang, $soundBoundaries);
     $this->create_paragraphs = $createParagraphs;
     $this->newlines_after_paragraph = $newLinesAfterParagraph;
     $this->newlines_after_sentence = $newLinesAfterSentence;
     $this->timecode_every_paragraph = $timecodeEveryParagraph;
     $this->timecode_format = $timecodeFormat;
     $this->timecode_interval = $timecodeInterval;
     $this->timecode_offset = $timecodeOffset;
 }