Method | Description | |
---|---|---|
DoubleMetaphone ( ) : System |
Default ctor, initializes by computing the keys of an empty string, which are both empty strings
|
|
DoubleMetaphone ( String word ) : System |
Constructs a new DoubleMetaphone object, and initializes it with the metaphone keys for a given word
|
|
computeKeys ( String word ) : void |
Sets a new current word for the instance, computing the new word's metaphone keys
|
|
doubleMetaphone ( String word, String &primaryKey, String &alternateKey ) : void |
Static wrapper around the class, enables computation of metaphone keys without instantiating a class.
|
Method | Description | |
---|---|---|
addMetaphoneCharacter ( String primaryCharacter ) : void | ||
addMetaphoneCharacter ( String primaryCharacter, String alternateCharacter ) : void | ||
areStringsAt ( int start, int length ) : bool | ||
buildMetaphoneKeys ( ) : void | ||
isVowel ( int pos ) : bool | ||
isWordSlavoGermanic ( ) : bool |
public DoubleMetaphone ( String word ) : System | ||
word | String | Word with which to initialize the object. Computes the metaphone keys /// of this word. |
return | System |
public computeKeys ( String word ) : void | ||
word | String | New word to set to current word. Discards previous metaphone keys, /// and computes new keys for this word |
return | void |
public static doubleMetaphone ( String word, String &primaryKey, String &alternateKey ) : void | ||
word | String | Word whose metaphone keys are to be computed |
primaryKey | String | Ref to var to receive primary metaphone key |
alternateKey | String | Ref to var to receive alternate metaphone key, or be set to null if /// word has no alternate key by double metaphone |
return | void |