The Mathematics of Language