SQLWordForms allows to specify an SQL query which will be executed to generate word forms or synonyms from the database. The query must return exactly one column with individual word forms or synonyms in separate rows.
The SQL query is executed for every word typed by the user,
$1 variable replaced to the word.
Note: When using cluster, the SQLWordForms command must be specified in the cluster node XML templates - not in the front-end HTML template.