Text this: Studies in the linguistic structure of classical Arabic