تگ: Linear Models in Text Analysis and Compression