This code accompanies the paper "Syntactic dependencies correspond to word pairs with high mutual information".