| Module | Cassiopee |
| In: |
lib/cassiopee.rb
|
Calculate the edit or hamming distance between String and pattern Extend a String Return -1 if max is reached
Calculate the edit or hamming distance between String and pattern Extend a String Return -1 if max is reached
Calculate number of substitution between string and pattern Extend a String Return -1 if max is reached
Compute Levenshtein distance but using a mapping matrix of alphabet ambiguity Code comes from Text gem, Text::Levenshtein.distance, adapted for ambiguity comparison