code: def _clean_text(text, punc_list):
      text = text.lower()
      text = re.sub("[^A-Za-z0-9\u4e00-\u9fa5]", "", text)
      text = re.sub(
          f'[{"".join([p for p in punc_list][1:])}]', "", text
      )
      return text
  
file_path: PaddleHub/modules/text/punctuation_restoration/auto_punc/module.py
imports: import os
  import re
  from typing import List, Union
  import numpy
  import paddle
  from paddlehub.env import MODULE_HOME
  from paddlehub.module.module import moduleinfo, serving
  from paddlehub.utils.log import logger
  from paddlenlp.transformers import ErnieTokenizer, ErnieForTokenClassification
  from paddlenlp.data import Pad
label_desc: Use image node_id 3 for calling the Ernie obj's underlying member method code with example usage: obj._clean_text(text, punc_list) and returns: text