My 6.835 final project, involving HMMs and scratch inputs