Algorithm

The algorithm returns:

  • a normalized float (between 0.0 and 1.0) by doing the following:
    1. Finding the difference between the two strings using the SoundEx US English algorithm
    2. dividing the resulting difference by 4
  • an exception in the case of SoundEx not being able to encode one of the strings (Score catches and handles this)
  • No labels