More details about the distance measures (phone and articulatory-feature based) and the neighborhood scores can be found here:
"Revisiting Word Neighborhoods for Speech Recognition.", P. Jyothi and K. Livescu, MorphFSM (Workshop at ACL), 2014.

C++ code

Word neighborhood statistics

Enter a word that you would like neighborhood statistics for: