class_docstr: Base class for all text based default handler.
  Contains various text based utility methods
class_docstr_tok: ["Base","class","for","all","text","based","default","handler",".","Contains","various","text","based","utility","methods"]
docstr: Removes punctuation
docstr_tok: ["Removes","punctuation"]
code: def _remove_punctuation(self, text):
      """
      Removes punctuation
      """
      return text.translate(str.maketrans("", "", string.punctuation))
  
imports: import logging
  import os
  import re
  import string
  import unicodedata
  from abc import ABC
  import torch
  import torch.nn.functional
  from captum.attr import LayerIntegratedGradients
  from torchtext.data.utils import get_tokenizer
  from ..utils.util import CLEANUP_REGEX
  from .base_handler import BaseHandler
  from .contractions import CONTRACTION_MAP
label_desc: Use image node_id 8 for calling the TextHandler obj's underlying member method code with example usage: obj._remove_punctuation(text) and returns: text