maximum length of the resulting encodings, in characters
modified
if TRUE, use the Caverphone 2 algorithm
Value
the Caverphone encoded character vector
Caveats
The caverphone algorithm is only
defined for inputs over the standard English alphabet, i.e.,
"A-Z." For inputs outside this range, the output is undefined.
Details
The variable maxCodeLen is the limit on how long the returned
Caverphone code should be. The default is 6, unless modified
is set to TRUE, then the default is 10.
The variable modified directs caverphone to use the
Caverphone2 method, instead of the original.
References
David Hood, "Caverphone: Phonetic matching algorithm," Technical
Paper CTP060902, University of Otago, New Zealand, 2002.
David Hood, "Caverphone Revisited," Technical Paper CTP150804
University of Otago, New Zealand, 2004.