Add support for cooccurrence analysis.

This is a relaxed version of collocation analysis. Where
collocations need to be immediate neighbors, cooccurrences can
occur within a given distance of one another, configurable by
setting a window parameter.