Separate out scoring methods.

This also gives log-likelihood cooccurrence scoring for free, and
removes a whole bunch of duplicated code. Noice.