![]() |
|
![]() |
|
OMNIDEX |
Omnidex Text |
|
Phonetic SearchesPhonetic Searches search for rows based on words that phonetically similar to the keyword criteria. The keyword is reduces to a phonetic code, which is then matched to other words that share that phonetic code. This expanded list of keywords with matching phonetic codes is then used as search criteria. Omnidex uses three different algorithms for phonetic searches: Soundex, Metaphone and Double-Metaphone. Metaphone is a generally regarded as a more advanced algorithm than Soundex, and Double-Metaphone is regarded as an improvement on Metaphone. Metaphone is similar to Soundex in that it reduces a word to a phonetic code, and that phonetic code is then shared by all words that sound phonetically similar. Double-Metaphone differs from Metaphone in that it may produce two phonetic codes for one word for those cases where a word has two common pronunciations
The Phonetic option, ;SX, will cause the data to be indexed using both the word and its Double-Metaphone equivalents. Use the ;SX2 option for Metaphone equivalents and the ;SX3 option for Soundex-style equivalents. Phonetic searches are accomplished by using the PHONETIC option of the $CONTAINS function, or by using the PHONETIC function directly in the qualification criteria. Phonetic equivalents are directly accessible using the $SOUNDEX, $METAPHONE and $DOUBLE_METAPHONE functions in SQL.
PHONETIC FunctionSyntaxPHONETIC(criteria[, approach[, options]]) criteria approach options
OptionsThere are currently no valid options available for use with this function.
ExampleThe following two statements will produce the same results. QUALIFY CATALOG WHERE CONTENT = 'PHONETIC(Smith)' SELECT * FROM CATALOG WHERE $CONTAINS(CONTENT,'Smith','phonetic')
|
|
Environment
Catalog ![]() |
Database
Integration ![]() |
Omnidex
Text![]() |
Other
Features ![]() |
Environment |
Database |
Table |
Column |
Rule |
Index |
Message |
SQL Server |
Oracle |
DB2 |
Flat Files |
External Documents |
Configuration |
Keyword Searches |
Synonym Searches |
Proximity Searches |
Form Searches |
Misspelling Searches |
Spell Check Searches |
Phonetic Searches |
Exporting Data |
Pseudo-columns |
Partitioning |