Large deviation principles for words drawn from correlated letter sequences