[Mead] Re: Problem with QueryCosine.pl
radev at umich.edu
radev at umich.edu
Wed Mar 19 13:57:48 EST 2008
Let me ask Thuy and Bryan.
>
> --===============1835381872==
> Content-Type: multipart/alternative;
> boundary="----=_Part_11448_11373549.1205387710868"
>
> ------=_Part_11448_11373549.1205387710868
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> By passing enidf and lang specifications to QueryCosine.pl solved my
> problem.
> I hope this modification is correct...or....are there any dependencies?
>
> Changes made are
> 1)added "enidf ENG" to feature specification in meadrc
>
> "feature QueryTitleCosine
> /mead/bin/feature-scripts/QueryCosine.pl *enidf ENG *-q t
> /mead/data/GA3/GA3.query /mead/data/GA3/docsent"
>
> 2)added following lines to QueryCosine.pl
> my $idffile = shift;
> my $lang = shift;
> ..
> Awaiting reply...
>
> With Regards,
> Sravich
>
> On Wed, Mar 12, 2008 at 11:25 PM, sravich.c c <sravich.c at gmail.com> wrote:
>
> > Sir,
> > I have problem using QueryCosine feature
> >
> > Am trying to run mead using following command line
> > ./mead.pl -meadrc /mead/data/GA3/sample.meadrc GA3
> >
> > With this I get these errors:
> >
> > Global symbol "$idffile" requires explicit package name at
> > /mead/bin/feature-scripts/QueryCosine.pl line 83.
> > Global symbol "$idffile" requires explicit package name at
> > /mead/bin/feature-scripts/QueryCosine.pl line 88.
> > Global symbol "$idffile" requires explicit package name at
> > /mead/bin/feature-scripts/QueryCosine.pl line 93.
> > Execution of /mead/bin/feature-scripts/QueryCosine.pl aborted due to
> > compilation errors.
> > FATAL: Feature Calculation returned 65280
> >
> > no element found at line 1, column 0, byte 0 at
> > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line
> > 187
> >
> > our sample.meadrc
> > ************
> > compression_basis sentences
> > compression_absolute 6
> > feature QueryTitleCosine /mead/bin/feature-scripts/QueryCosine.pl -q t
> > /mead/data/GA3/GA3.query /mead/data/GA3/docsent
> > classifier /mead/bin/default-classifier.pl Centroid 1 Position 1 Length 9
> > QueryTitleCosine 1
> > reranker /mead/bin/cst-rerankers/mmr-reranker.pl 0.6 MEAD-cosine enidf
> >
> > ***********
> > I tried to run write-idf but in vain
> > Can any one help me in solving this problem
> >
> > Thanking you
> > With Regards,
> > Sravich
> >
> >
>
> ------=_Part_11448_11373549.1205387710868
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> By passing enidf and lang specifications to QueryCosine.pl solved my problem.<br>I hope this modification is correct...or....are there any dependencies?<br><br>Changes made are<br>1)added "enidf ENG" to feature specification in meadrc<br>
> <br> "feature QueryTitleCosine /mead/bin/feature-scripts/QueryCosine.pl <b>enidf ENG </b>-q t /mead/data/GA3/GA3.query /mead/data/GA3/docsent"<br><br>2)added following lines to QueryCosine.pl<br> my $idffile = shift;<br>
> my $lang = shift;<br>.<br>Awaiting reply...<br><br>With Regards,<br>Sravich<br><br><div class="gmail_quote">On Wed, Mar 12, 2008 at 11:25 PM, sravich.c c <<a href="mailto:sravich.c at gmail.com">sravich.c at gmail.com</a>> wrote:<br>
> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sir,<br>I have problem using QueryCosine feature<br><br>Am trying to run mead using following command line<br>
> ./mead.pl -meadrc /mead/data/GA3/sample.meadrc GA3<br><br>With this I get these errors:<br><br>Global symbol "$idffile" requires explicit package name at /mead/bin/feature-scripts/QueryCosine.pl line 83.
> <br>Global symbol "$idffile" requires explicit package name at /mead/bin/feature-scripts/QueryCosine.pl line 88.<br>Global symbol "$idffile" requires explicit package name at /mead/bin/feature-scripts/QueryCosine.pl line 93.
> <br>Execution of /mead/bin/feature-scripts/QueryCosine.pl aborted due to compilation errors.<br>FATAL: Feature Calculation returned 65280<br><br>no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line 187
> <br><br>our sample.meadrc<br>************<span><br>compression_basis sentences<br>compression_absolute 6<br></span>feature QueryTitleCosine /mead/bin/feature-scripts/QueryCosine.pl -q t /mead/data/GA3/GA3.query /mead/data/GA3/docsent
> <br>classifier /mead/bin/default-classifier.pl Centroid 1 Position 1 Length 9 QueryTitleCosine 1<br>reranker /mead/bin/cst-rerankers/mmr-reranker.pl 0.6 MEAD-cosine enidf<br><br>***********<br>I tried to run write-idf but in vain<br>
>
>
> Can any one help me in solving this problem<br><br>Thanking you <br>With Regards,<br><font color="#888888">Sravich<br>
> <br clear="all">
> </font></blockquote></div><br>
>
> ------=_Part_11448_11373549.1205387710868--
>
> --===============1835381872==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Mead mailing list
> Mead at lists.si.umich.edu
> http://lists.si.umich.edu/mailman/listinfo/mead
>
> --===============1835381872==--
>
>
>
--
Dragomir R. Radev Associate Professor
SI, CSE, Ling U. Michigan, Ann Arbor
http://www.eecs.umich.edu/~radev radev at umich.edu
More information about the Mead
mailing list