code: def _token_sort(
      s1, s2, partial=True, force_ascii=True, full_process=True
  ):
      sorted1 = _process_and_sort(
          s1, force_ascii, full_process=full_process
      )
      sorted2 = _process_and_sort(
          s2, force_ascii, full_process=full_process
      )
  
      if partial:
          return partial_ratio(sorted1, sorted2)
      else:
          return ratio(sorted1, sorted2)
  
file_path: fuzzywuzzy/fuzzywuzzy/fuzz.py
imports: from __future__ import unicode_literals
  import platform
  import warnings
  from .None import utils
label_desc: Use image node_id 4 for calling a global function with example usage: _token_sort(s1, s2, partial, force_ascii, full_process) and returns: partial_ratio, ratio