The Western Airlines matching rating approach name encoder
Usage
mra_encode(word)
mra_compare(x, y)
Arguments
word
string or vector of strings to encode
x
MRA-encoded character vector
y
MRA-encoded character vector
Value
The mra_encode function returns match rating approach
encoded character vector. The mra_compare returns a boolean
vector which is TRUE if x and y pass the MRA
comparison test.
Caveats
The mra_encode and mra_compare algorithms are 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 word is the name to be encoded. The variable
maxCodeLen is not supported in this algorithm encoder
because the algorithm itself is dependent upon its six-character
length. The variables x and y are MRA-encoded and are
compared to each other using the MRA comparison specification.
References
G.B. Moore, J.L. Kuhns, J.L. Treffzs, and C.A. Montgomery,
Accessing Individual Records from Personal Data Files Using
Nonunique Identifiers, US National Institute of Standards and
Technology, SP-500-2 (1977), p. 17.