I.-Text and data mining, within the meaning of 10° of Article L. 122-5, means the implementation of a technique for the automated analysis of texts and data in digital form in order to extract information, in particular patterns, trends and correlations.
II.-Digital copies or reproductions of works that have been lawfully accessed may be made without authorisation from the authors with a view to text and data searches carried out for the sole purpose of scientific research by research organisations, libraries accessible to the public, museums, archive services or institutions that are repositories of the cinematographic, audiovisual or sound heritage, or on their behalf and at their request by other persons, including in the context of a non-profit-making partnership with private players.
The provisions of the previous paragraph do not apply when a company, shareholder or associate of the body or institution carrying out the excavations, has privileged access to their results.
Digital copies and reproductions made during an excavation of texts and data are stored with an appropriate level of security and may be kept exclusively for the purposes of scientific research, including the verification of research results.
Copyright owners may implement proportionate and necessary measures to ensure the security and integrity of networks and databases in which works are hosted.
An agreement concluded between the representative organisations of copyright holders and the bodies and institutions mentioned in the first paragraph of this II may define best practices relating to the implementation of its provisions.
III.-Without prejudice to the provisions of II, digital copies or reproductions of works that have been lawfully accessed may be made with a view to text and data searches carried out by any person, regardless of the purpose of the search, unless the author has objected in an appropriate manner, in particular by machine-readable processes for content made available to the public online.
Copies and reproductions are stored with an appropriate level of security and then destroyed at the end of the text and data search.