Learning Foreign Languages from Authentic Texts: Theory and Practice