Package org.basex.util.similarity
Class Soundex
java.lang.Object
org.basex.util.similarity.Soundex
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 Summary
Modifier and TypeMethodDescriptionstatic int[]encode(int[] cps) Computes the Soundex value for the specified codepoints.
-
Method Details
-
encode
public static int[] encode(int[] cps) Computes the Soundex value for the specified codepoints.- Parameters:
cps- codepoint array- Returns:
- Soundex value
-