The %TEXTSYN Macro

The %TEXTSYN macro is provided with SAS Text Miner. You can use this macro after a Text Parsing node has been successfully run to find and correct misspellings that appear in the input data source. It is not supported for use with the Chinese language.
The macro creates a synonym data set, which you can use in SAS Text Miner, that contains misspelled terms and candidate parents (correctly spelled terms). The data set includes the variables “term,” “parent,” and “category.” Using optional arguments, you can also specify that the synonym data set include example usages (from up to two documents) of the misspelled terms.
See the SAS Text Miner Help for more information about the %TEXTSYN macro.