Jisc have recently published a resourceful and detailed guide on text and data mining:-
The text and data mining copyright exception: benefits and implications for UK higher education
Helping you to understand the legal implications of the new text and data mining copyright exception
Changes in the law enable researchers to make copies of copyright material for computational analysis. This guide outlines the implications of the new text and data mining copyright exception  for researchers, research support services and librarians in UK universities.