A method of forming a knowledge base for processing an input includes
linking a plurality of attributes to a plurality of response templates
using a plurality of Boolean expressions. Each attribute includes a set
of patterns where each pattern within the set is equivalent.