Sounds like fair use to me (and it should be, if it's not)
Ethan Zuckerman blogged Erin McKean’s talk at PopTech, reporting of the fear of some lexicographers that they will be sued for scanning some books to analyze language patterns. “This scanning shouldn’t be threatening to publishers. ‘I don’t care about your plot, or your ideas – I just want to analyze your use of the language.’ … Read more