Topics in Grammatical Inference