This package allow you to calculate probabibility of appearence of word in a corpus with the first function and the Cooccurrence matrix with the second.
Thanks to these function, we are able to calculate the theorical cooccurrence using Brunet (2012:222) mobilizing Hypergeometric distribution.