I find the LION database pretty useful for looking up specific lines in poems although it is not 100% reliable. Craig Hamilton