Title: Foundations of Text Alignment