code: def _convert_punctuation(punctuation, conversion_table):
      
      if punctuation in conversion_table:
          return conversion_table[punctuation]
      return re.escape(punctuation)
docs: Return a regular expression for a punctuation string.