class_docstr: This is a Python port of the Moses punctuation normalizer
class_docstr_tok: ["This","is","a","Python","port","of","the","Moses","punctuation","normalizer"]
code: def remove_control_chars(self, text):
      return regex.sub(r"\p{C}", "", text)
  
imports: from onmt.utils.logging import logger
  import re
  import regex
  from itertools import chain
  from onmt.transforms import register_transform
  from .transform import Transform
label_desc: Use image node_id 4 for calling the MosesPunctNormalizer obj's underlying member method code with example usage: obj.remove_control_chars(text) and returns: regex