Mining text data for useful information