Text this: Topics in Grammatical Inference