A Machine-Aided Approach to Intelligent Index Generation