The NYSIIS phonetic algorithm
string or vector of strings to encode
maximum length of the resulting encodings, in characters
nysiis function phentically encodes the given
string using the New York State Identification and Intelligence
System (NYSIIS) algorithm. The algorithm is based on the
implementation provided by Wikipedia and is implemented in pure R
using regular expressions.
maxCodeLen is the limit on how long the returned
NYSIIS code should be. The default is 6.
nysiis to use the
modified method instead of the original.
the NYSIIS encoded character vector
nysiis algorithm is only
defined for inputs over the standard English alphabet, i.e.,
"A-Z." For inputs outside this range, the output is undefined.
Robert L. Taft, Name search techniques, Bureau of Systems Development, Albany, New York, 1970.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.