An Interaction Mining Approach for Classifying User Intent on the Web