A method of implicitly forming a context in a dialogue with a computer includes forming megacategories linking one or more attributes to one of a plurality of response templates. The method also includes determining a megacategory by comparing attributes having true variables from a previous input to attributes having true variables in the present input and selecting an appropriate response template corresponding to the megacategory.