There is a small bug in using pmi in the Ngram Statistics Package that arises when you call it using the fully specified name of the measure, as in....
statistic.pl Text::NSP::Measures::2D::MI::pmi output input This results in a series of errors like this... Use of uninitialized value in exponentiation (**) at /usr/local/share/perl/5.8.8/Text/NSP/Measures/2D/MI/pmi.pm line 144, <SRC> line 2. Curiously, if you run pmi as follows.... statistic.pl pmi output input there is no problem. So, this bug would only affect you when using the fully specified pmi name, and there is an easy work around should that occur. However, this is certainly something we will fix. Please let me know of any questions or concerns.... Thanks! Ted -- Ted Pedersen http://www.d.umn.edu/~tpederse