Pointwise mutual information on twitter corpus - Python script