Add get_PMI method for WordUtils