Compute orthographic-neighbourhood dimensions (Coltheart's N and OLD20)
Source:R/querying.R
add_neighbourhood.Rdn_density is Coltheart's N: the number of reference words of the same
length differing by a single letter substitution (Hamming distance 1).
old20 is the mean Levenshtein distance to the 20 nearest reference words
(Yarkoni et al., 2008). Both are computed against reference, which
should be a large word list (typically the whole lexicon), not just the
experimental pool.