Automatic indexing using term discrimination and term precision measurements