parameters: (text, remove_digits=True)
return_statement: return text
docstring: lambda fn for removing special char
docstring_summary: lambda fn for removing special char
docstring_tokens: lambda fn for removing special char
function: def remove_special_characters(text, remove_digits=True):
      ''' lambda fn for removing special char '''
      pattern = r'[^a-zA-Z0-9\s]'
      text = re.sub(pattern, '', text)
      return text
function_tokens: def remove_special_characters ( text , remove_digits = True ) : pattern = r'[^a-zA-Z0-9\s]' text = re . sub ( pattern , '' , text ) return text