We will then use these three symbols to define the set of word association patterns, which are used to specify how the words interact with the sub-trees of the current node.
for expression tree nodes with arity 0 (i.e., quantity nodes), only one pattern w is allowed to be attached to them, indicating that a contiguous word sequence from a given problem text is associated with such expression tree nodes.