code: def __init__(
      self,
      only_text_image_nodes=True,
      format_texts=True,
      merge_consecutive_text_nodes=True,
  ):
      self.only_text_image_nodes = only_text_image_nodes
      self.format_texts = format_texts
      self.merge_consecutive_text_nodes = merge_consecutive_text_nodes
  
file_path: hf-obelics/obelics/processors/pre_extraction_simplificator.py
imports: import re
  from obelics.utils import MEDIA_CONTAIN_INTERESTING_ATTRIBUTES_SET, TAG_TO_SEP, simplify_media_node
label_desc: Use image node_id 1 to create a new PreExtractionSimplificator object  with example: obj = PreExtractionSimplificator(only_text_image_nodes, format_texts, merge_consecutive_text_nodes)