Re: [Mead] mead-config AND query-based

From: radev@umich.edu
Date: Mon May 02 2005 - 22:19:37 EDT


Hi, Haojin,

Maojin Jiang wrote:
>
> hi,
>
> As a newbie, puzzled by these problems as follows. Pls help me. Thanks.
>
> 1. A mead config file is a handy place for settings like using
> additional features. But how to let mead.pl know it? I didn't find
> there's an option in command-line for mead.pl. I created one config file
> but it seems it was not used by mead.pl. I tried old ways that cat it to
> driver.pl. That works.

cat some.config | driver.pl > some.extract

>
> 2. I tried query-based summarization. As problem 1 unsolved, I put the
> script for the "QueryCosine.pl" in a config file and cat it to
> driver.pl. I get the following errors. I think that it complains cannot
> find idf database file since no problem with QueryCosineNoIDF.pl. So,
> when and how is this idf db created and used? Does mead generate an
> index file for all documents in a cluster when it parses documents and
> create idf file incrementally? And how to get this query-based
> QueryCosine work? Thanks.
>
> <ERROR START>
> Global symbol "$idffile" requires explicit package name at
> /usr/local/mead/bin/feature-scripts/QueryCosine.pl line 83.
> Global symbol "$idffile" requires explicit package name at
> /usr/local/mead/bin/feature-scripts/QueryCosine.pl line 88.
> Global symbol "$idffile" requires explicit package name at
> /usr/local/mead/bin/feature-scripts/QueryCosine.pl line 93.
> Execution of /usr/local/mead/bin/feature-scripts/QueryCosine.pl aborted
> due to compilation errors.
> FATAL: Feature Calculation returned 65280
> <ERROR END>
>

Please test the feature script in the following way (change the parhs
as necessary) and report the errors that you get:

echo cluster/ri10/ri10.cluster | /clair4/projects/mead307/source/mead/bin/feature-scripts/QueryCosineNoIDF.pl -q t /clair6/projects/evolving-ie/fact-track/data/manual/ri10/questions/ri10.1.query cluster/ri10/docsent

Drago

> Thanks a lot!
>
>
> Br
>
> Maojin Jiang
> _______________________________________________
> Mead mailing list
> Mead@lists.si.umich.edu
> http://lists.si.umich.edu/mailman/listinfo/mead
>
>

-- 
Dragomir R. Radev                                         radev@umich.edu
Assistant Professor of Information, Electrical Engineering and
Computer Science, and Linguistics, the University of Michigan, Ann Arbor
Phone: 734-615-5225   Fax: 734-764-2475    http://www.si.umich.edu/~radev



This archive was generated by hypermail 2b30 : Tue Jun 09 2009 - 05:00:07 EDT