class_docstr: Runs basic tokenization (punctuation splitting, lower casing, etc.).
  
  Args:
      do_lower_case: Whether to lower case the input.
      never_split: A list of tokens not to split.
      tokenize_chinese_chars: Whether to tokenize Chinese characters.
          This should likely be deactivated for Japanese:
          see:
          `https://github.com/huggingface/pytorch-pretrained-BERT/issues/328`
class_docstr_tok: ["Runs","basic","tokenization","(","punctuation","splitting",",","lower","casing",",","etc.",")",".","Args",":","do_lower_case",":","Whether","to","lower","case","the","input",".","never_split",":","A","list","of","tokens","not","to","split",".","tokenize_chinese_chars",":","Whether","to","tokenize","Chinese","characters",".","This","should","likely","be","deactivated","for","Japanese",":","see",":","`","https",":","\/\/github.com\/huggingface\/pytorch-pretrained-BERT\/issues\/328","`"]
docstr: Strips accents from a piece of text.
  
  Example:
      accented_string = 'Málaga'
      _run_strip_accents(accented_string)  # 'Malaga'
docstr_tok: ["Strips","accents","from","a","piece","of","text",".","Example",":","accented_string","=","'M\u00e1laga'","_run_strip_accents","(","accented_string",")","#","'Malaga","'"]
code: def _run_strip_accents(cls, text: str) -> str:
      r"""Strips accents from a piece of text.
  
      Example:
          accented_string = 'Málaga'
          _run_strip_accents(accented_string)  # 'Malaga'
      """
      text = unicodedata.normalize("NFD", text)
      output = []
      for char in text:
          cat = unicodedata.category(char)
          if cat == "Mn":
              continue
          output.append(char)
      return "".join(output)
  
file_path: texar/texar/tf/data/tokenizers/bert_tokenizer_utils.py
imports: from typing import Dict, List, Optional
  import collections
  import unicodedata
label_desc: Use image node_id 3 for calling the BasicTokenizer obj's underlying member method code with example usage: obj._run_strip_accents(cls, text) and returns: str