Class Soundex


  • public class Soundex
    extends Object
    An implementation of Knuth's soundex algorithm. Used by the soundslike operator.
    • Field Detail

      • MAP

        public static final char[] MAP
    • Constructor Detail

      • Soundex

        public Soundex()
    • Method Detail

      • soundex

        public static String soundex​(String s)
        Convert the given String to its Soundex code.
        Parameters:
        s - input string
        Returns:
        null If the given string can't be mapped to Soundex.