What does this number parameter in Soundex
function mean?
Code:
import fuzzy
soundex = fuzzy.Soundex(6)
What does this number parameter in Soundex
function mean?
Code:
import fuzzy
soundex = fuzzy.Soundex(6)
From the source code it looks like it is the output size:
cdef class Soundex:
cdef int size
cdef char *map
def __init__(self, size):
self.size = size
...
if written == self.size:
break
Soundex, by default, generates 4-character codes but you seem to be able to change that in this implementation.