after executing:

/opt/local/libexec/perl5.16/sitebin/count.pl test-corpus-count.txt
count.txt test-corpus.txt

the output looks fine, as shown/described in 4.1 of
http://www.d.umn.edu/~tpederse/Pubs/cicling2003-2.pdf.

and then:

~ /opt/local/libexec/perl5.16/sitebin/statistic.pl CHI output.txt
test-corpus-count.txt

"Error from statistic library!
  Error code: 101
  Error message: Error calculateStatistic() - Mandatory function
calculateStatistic() not defined.
Your implementation should override this method. Aborting...."

So I'm unsure-- in order to use chisq , do I need to implement it?

Or the full path? :
/opt/local/libexec/perl5.16/sitebin/statistic.pl
/opt/local/lib/perl5/site_perl/5.16.1/Text/NSP/Measures/2D/CHI/phi.pm
 out.txt count.txt

Can't locate Text/NSP/Measures/2D// ....


Thanks in advance.

Best,
Patrice

Reply via email to