C implementation of Jurafsky and Martin's sheeptalk recognizer