In a ruling celebrated by fair-use advocates, text-mining scholars, and librarians, a federal judge ruled that Google's use of copyrighted works in its Google Books program counts as fair use, and he dismissed a lawsuit originally brought by authors and publishers groups in 2005.