thresholds:

  • 0: text equals
  • 1: binary equals
  • (0, 1): similarity threshold