If you're doing things like Shakespeare or the Bible, there are published concordances that you can use. I don't know how many works have accompanying concordances, though.