python Programming Glossary: a_length
How to correct bugs in this Damerau-Levenshtein implementation? http://stackoverflow.com/questions/3431933/how-to-correct-bugs-in-this-damerau-levenshtein-implementation cdef unsigned int a_length cids_a.length cdef unsigned int b_length cids_b.length #........................................................................................................... if a_length 0 return b_length if b_length 0 return a_length #........................................................................................................... if a_length 0 return b_length if b_length 0 return a_length #...........................................................................................................
|