Add functions for computing phrase likelihoods
Fix case bug