|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.keyoti.rapidSpell.PhoneticsProcessor
Generates the phonetic (sounds like) code for a word.
Constructor Summary | |
PhoneticsProcessor()
|
Method Summary | |
static boolean |
hasSameMetaPhone(java.lang.String txt,
java.lang.String metaphone)
is more efficient than finding the metaphone of word and then testing if strings are equal. |
static java.lang.String |
metaPhone(java.lang.String txt)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PhoneticsProcessor()
Method Detail |
public static java.lang.String metaPhone(java.lang.String txt)
txt
- the word to find the phonetic code forpublic static boolean hasSameMetaPhone(java.lang.String txt, java.lang.String metaphone)
txt
- word to check if has same metaphone asmetaphone
- the meta phone to compare with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |