soundex

Purpose

Provides a way to search for a word as well as words that sound similar to the specified word.

The soundex function is based on the well known soundex algorithm. The soundex algorithm works by assigning every word into a sound category. There are a limited number of categories. Every word in the data is assigned to a category during the indexing phase. The word given as an argument to the function is also assigned to a category when the PDL expression is evaluated. Then, PolyAnalyst searches for every word in the same category as the category of the specified word.

Syntax

soundex(word,…​)

Arguments

Accepts multiple arguments.

Returned Value

Documents matching the query.

Examples

soundex("minor") matches text records containing minor, miner.

soundex("flow") matches text records containing flow, flour.

soundex("four") matches text records containing four, for.