class_docstr: Constructs a Speech2Text processor which wraps a Speech2Text feature extractor and a Speech2Text tokenizer into a
  single processor.
  
  [`Speech2TextProcessor`] offers all the functionalities of [`Speech2TextFeatureExtractor`] and
  [`Speech2TextTokenizer`]. See the [`~Speech2TextProcessor.__call__`] and [`~Speech2TextProcessor.decode`] for more
  information.
  
  Args:
      feature_extractor (`Speech2TextFeatureExtractor`):
          An instance of [`Speech2TextFeatureExtractor`]. The feature extractor is a required input.
      tokenizer (`Speech2TextTokenizer`):
          An instance of [`Speech2TextTokenizer`]. The tokenizer is a required input.
code: def __init__(self, feature_extractor, tokenizer):
      super().__init__(feature_extractor, tokenizer)
      self.current_processor = self.feature_extractor
      self._in_target_context_manager = False
  
file_path: transformers/src/transformers/models/speech_to_text/processing_speech_to_text.py
imports: import warnings
  from contextlib import contextmanager
  from ...processing_utils import ProcessorMixin
label_desc: Use image node_id 1 to create a new Speech2TextProcessor object from inherited base classes: ProcessorMixin with example: obj = Speech2TextProcessor(feature_extractor, tokenizer)