Skip to content

Commit

Permalink
Hamming docs, closes #33
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesturk committed Mar 3, 2015
1 parent 098ddc3 commit 5c5919e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/comparison.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ Hamming Distance
Compute the Hamming distance between s1 and s2.

Hamming distance is the measure of the number of characters that differ between two strings.

Typically Hamming distance is undefined when strings are of different length, but this implementation
considers extra characters as differing. For example ``hamming_distance('abc', 'abcd') == 1``.

See the `Hamming distance article at Wikipedia <http://en.wikipedia.org/wiki/Hamming_distance>`_ for more details.

Jaro Distance
Expand Down

0 comments on commit 5c5919e

Please sign in to comment.