NYSIIS coding

The NYSIIS action is used to compute the NYSIIS code of a dictionary field and move the results to another dictionary field.

NYSIIS stand for New York State Information and Intelligence Systems. NYSIIS is an phonetic coding algorithm developed after SOUNDEX. Similar to SOUNDEX, NYSIIS is specifically designed for the English language but perhaps can be useful for languages.

The NYSIIS action has the following format:


NYSIIS source-field target-field

For example, the following action computes the NYSIIS of the MatchFirstName field and places the eight character result in the MatchFirstNameNYSIIS dictionary field:


NYSIIS {MatchFirstName} {MatchFirstNameNYSIIS}

The RNYSIIS action is reverse NYSIIS. The NYSIIS and RNYSIIS actions are used in the POST action section, so they are run after pattern matching is complete for the record.

POST actions must occur before any pattern-action sets and must be preceded by the line \POST_START and followed by the line \POST_END.