ar.com.ktulu.dict.strategies
Class Soundex

java.lang.Object
  |
  +--ar.com.ktulu.dict.strategies.Soundex

class Soundex
extends java.lang.Object

Compares two strings using the Soundex algorithm. Source from http://sourceforge.net/snippet.
Modifications by Luis Parravicini

See Also:
Sourceforge Code Snippets, Info on the Soundex Algorithm

Constructor Summary
(package private) Soundex()
           
 
Method Summary
static boolean compare(java.lang.String s1, java.lang.String s2)
          Compares s1 and s2 according to their soundex value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Soundex

Soundex()
Method Detail

compare

public static boolean compare(java.lang.String s1,
                              java.lang.String s2)
Compares s1 and s2 according to their soundex value.