original_docstring: Perform string comparison with multiple levels of tolerance
  
      Args:
          word1: a string
          word2: another string
  
      Returns:
          a tuple with booleans specifying respectively whether the raw strings, their lower-case counterparts, their
              unidecode counterparts and their lower-case unidecode counterparts match
      
docstring: Perform string comparison with multiple levels of tolerance
docstring_tokens: Perform string comparison with multiple levels of tolerance
code: def string_match(word1: str, word2: str) -> Tuple[bool, bool, bool, bool]:
      """Perform string comparison with multiple levels of tolerance
  
      Args:
          word1: a string
          word2: another string
  
      Returns:
          a tuple with booleans specifying respectively whether the raw strings, their lower-case counterparts, their
              unidecode counterparts and their lower-case unidecode counterparts match
      """
      raw_match = word1 == word2
      caseless_match = word1.lower() == word2.lower()
      unidecode_match = unidecode(word1) == unidecode(word2)
  
      # Warning: the order is important here otherwise the pair ("EUR", "€") cannot be matched
      unicase_match = unidecode(word1).lower() == unidecode(word2).lower()
  
      return raw_match, caseless_match, unidecode_match, unicase_match
code_tokens: def string_match ( word1 : str , word2 : str ) -> Tuple [ bool , bool , bool , bool ] : raw_match = word1 == word2 caseless_match = word1 . lower ( ) == word2 . lower ( ) unidecode_match = unidecode ( word1 ) == unidecode ( word2 ) unicase_match = unidecode ( word1 ) . lower ( ) == unidecode ( word2 ) . lower ( ) return raw_match , caseless_match , unidecode_match , unicase_match
short_docstring: Perform string comparison with multiple levels of tolerance
short_docstring_tokens: Perform string comparison with multiple levels of tolerance
comment: """Perform string comparison with multiple levels of tolerance
  
      Args:
          word1: a string
          word2: another string
  
      Returns:
          a tuple with booleans specifying respectively whether the raw strings, their lower-case counterparts, their
              unidecode counterparts and their lower-case unidecode counterparts match
      """$SEP$# Warning: the order is important here otherwise the pair ("EUR", "€") cannot be matched