an attribute a (e.g., obj): (i) grow right -add a as another term in the pattern (i.e., [noun][obj]); (ii) grow inside -add a as another attribute to the last term of p, making it more specific (i.e., [noun,obj]).
next, we define the alphabet of attributes that will be used to compose longer patterns (lines 2-3).