Code and research paper for a project on modeling human acquisition of syntax using transitional probabilities.