Class Soundex

java.lang.Object
org.basex.util.similarity.Soundex

public final class Soundex extends Object

Basic Soundex algorithm, developed by Robert C. Russell and Margaret King Odell.

The implementation has been inspired by the Apache Commons Codec algorithms (http://commons.apache.org/proper/commons-codec/).

Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Method Details

    • encode

      public static int[] encode(int[] cps)
      Computes the Soundex value for the specified codepoints.
      Parameters:
      cps - codepoint array
      Returns:
      Soundex value