CC: | sidd [...] cs.utah.edu, tpederse [...] d.umn.edu |
Subject: | Use of uninitialized value in exponentiation |
Hi Ted,
I was trying to compute PMI for some data I'm analyzing... it looks like
the Text::NSP::Measures::MI::pmi has a minor bug. I get these errors for
each line of my input file:
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 10643.
It seems to be because the $exp variable hasn't been set to a default
value (the documentation claims that the default value is 1). Seems like
it should be an easy fix.
I could look into the code tomorrow, and see if I can send you a patch.
For now, I just thought I'd create a ticket for this issue until it gets
resolved.
Thanks.
-- Sid.
Subject: | seedjointcount.txt |
Message body is not shown because it is too large.