code: def _remove_diacritics(text: str) -> str:
      """
      Remove diacritics and accents from one string.
  
      Examples
      --------
      >>> from texthero.preprocessing import _remove_diacritics
      >>> import pandas as pd
      >>> text = "Montréal, über, 12.89, Mère, Françoise, noël, 889, اِس, اُس"
      >>> _remove_diacritics(text)
      'Montreal, uber, 12.89, Mere, Francoise, noel, 889, اس, اس'
      """
      nfkd_form = unicodedata.normalize("NFKD", text)
      # unicodedata.combining(char) checks if the character is in
      # composed form (consisting of several unicode chars combined), i.e. a diacritic
      return "".join(
          [
              char
              for char in nfkd_form
              if not unicodedata.combining(char)
          ]
      )
  
imports: from gensim.models.phrases import Phrases
  import re
  import string
  from typing import Optional, Set
  import unicodedata
  import numpy
  import pandas
  from texthero._types import TokenSeries, TextSeries, InputSeries
  from typing import List, Callable, Union
  import warnings
label_desc: Use image node_id 7 for calling a global function with example usage: _remove_diacritics(text) and returns: str