Legal Aspects of Text and Data Mining