class_docstr: Handle punctuations in text.
  
  Just strip punctuations from text or strip and restore them later.
  
  Args:
      puncs (str): The punctuations to be processed. Defaults to `_DEF_PUNCS`.
  
  Example:
      >>> punc = Punctuation()
      >>> punc.strip("This is. example !")
      'This is example'
  
      >>> text_striped, punc_map = punc.strip_to_restore("This is. example !")
      >>> ' '.join(text_striped)
      'This is example'
  
      >>> text_restored = punc.restore(text_striped, punc_map)
      >>> text_restored[0]
      'This is. example !'
docstr: Remove punctuations from text to restore them later.
  
  Args:
      text (str): The text to be processed.
  
  Examples ::
  
      "This is. example !" -> [["This is", "example"], [".", "!"]]
docstr_tok: ["Remove","punctuations","from","text","to","restore","them","later",".","Args",":","text","(","str",")",":","The","text","to","be","processed",".","Examples",":",":","``","This","is",".","example","!","''","-",">","[","[","``","This","is","''",",","``","example","''","]",",","[","``",".","``",",","``","!","''","]","]"]
code: def strip_to_restore(self, text):
      """Remove punctuations from text to restore them later.
  
      Args:
          text (str): The text to be processed.
  
      Examples ::
  
          "This is. example !" -> [["This is", "example"], [".", "!"]]
  
      """
      text, puncs = self._strip_to_restore(text)
      return text, puncs
  
file_path: TTS/TTS/tts/utils/text/punctuation.py
imports: import collections
  import re
  from enum import Enum
  import six
label_desc: Use image node_id 6 for calling the Punctuation obj's underlying member method code with example usage: obj.strip_to_restore(text) and returns: text,  puncs