class_docstr: Class implements preprocessing of english texts with low level of literacy such as comments
code: def __init__(self, remove_punctuation: bool = True, *args, **kwargs):
      self.remove_punctuation = remove_punctuation
  
file_path: DeepPavlov/deeppavlov/models/preprocessors/dirty_comments_preprocessor.py
imports: import re
  import string
  from typing import List
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.models.component import Component
label_desc: Use image node_id 1 to create a new DirtyCommentsPreprocessor object from inherited base classes: Component with example: obj = DirtyCommentsPreprocessor(remove_punctuation)