Prosecraft has infuriated authors by using their books without consent – but what does copyright law say?

Prosecraft requires an algorithm to crawl through millions of words of text to produce an analysis of the language.