From sravich.c at gmail.com Tue Aug 28 12:38:12 2007
From: sravich.c at gmail.com (sravich.c c)
Date: Tue Aug 28 12:33:28 2007
Subject: [Mead] need help regarding optimal feature weights
In-Reply-To: <3eabb5e00708280844j10158240o1bbbff3e01d2d344@mail.gmail.com>
References: <3eabb5e00708280844j10158240o1bbbff3e01d2d344@mail.gmail.com>
Message-ID: <3eabb5e00708280938k1c35f673m4871074398f16685@mail.gmail.com>
Dear sir,
We are planning to compare our system with MEAD.
We would like to know the optimal values for features
Centroid
Position
QueryTitleCosineNoIDF
A value of QueryTitleCosineNoIDF = 1 for any query seems to generate same
answer on a particular cluster of documents. Am i doing something wrong?
Our configuration file is as follows:
********
compression_basis sentences
compression_absolute 6
feature QueryTitleCosineNoIDF
/mead/bin/feature-scripts/QueryCosineNoIDF.pl -q t
/mead/data/GA3/GA3.query /mead/data/GA3/docsent
classifier /mead/bin/default-classifier.pl Centroid 1 Position 1
QueryTitleCosineNoIDF 1
reranker i/mead/bin/cst-rerankers/mmr-reranker.pl 0.6 MEAD-cosine enidf
**************
We would like to know optimal values of feature weights for both news
articles and other general articles.
Please help us as soon as possible.
With regards,
SRAVI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.si.umich.edu/pipermail/mead/attachments/20070828/10d9be6a/attachment.htm
From sravich.c at gmail.com Tue Aug 28 13:49:34 2007
From: sravich.c at gmail.com (sravich.c c)
Date: Tue Aug 28 13:44:50 2007
Subject: [Mead] Re: need help regarding optimal feature weights
In-Reply-To: <3eabb5e00708280938k1c35f673m4871074398f16685@mail.gmail.com>
References: <3eabb5e00708280844j10158240o1bbbff3e01d2d344@mail.gmail.com>
<3eabb5e00708280938k1c35f673m4871074398f16685@mail.gmail.com>
Message-ID: <3eabb5e00708281049o75c114dci9c692833388336d8@mail.gmail.com>
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: QueryCosine.pl
Type: application/x-perl
Size: 2436 bytes
Desc: not available
Url : http://lists.si.umich.edu/pipermail/mead/attachments/20070828/ef3ed5ad/QueryCosine.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QueryCosineNoIDF.pl
Type: application/x-perl
Size: 2119 bytes
Desc: not available
Url : http://lists.si.umich.edu/pipermail/mead/attachments/20070828/ef3ed5ad/QueryCosineNoIDF.bin
From sravich.c at gmail.com Tue Aug 28 14:57:19 2007
From: sravich.c at gmail.com (sravich.c c)
Date: Tue Aug 28 14:52:34 2007
Subject: [Mead] need help regardingQueryCosine
Message-ID: <3eabb5e00708281157v3a399394jb8ef494fa429ee48@mail.gmail.com>
Skipped content of type multipart/alternative-------------- next part --------------
#!/usr/bin/perl -w
#########################################################################
#
# usage:
# echo cluster_filename | ./QueryCosine.pl \
# [-q option] query_filename datadir
#
# option: specify which part of query is used to compute word overlap
# -q: "t", "title", "n", "narrative", "d", "description", "a", "all"
#
#########################################################################
use strict;
use Getopt::Long;
use FindBin;
use lib "$FindBin::Bin/../../lib/", "$FindBin::Bin/../../lib/arch/";
use MEAD::Query;
use MEAD::SentFeature;
use MEAD::Evaluation;
use Essence::IDF;
use Essence::Text;
# get the option
my $q;
GetOptions ("q=s" => \$q);
my $option = "all";
if ($q) {
$q =~ tr/[A-Z]/[a-z]/;
if (($q eq "t") or ($q eq "title")) {
$option = "title";
} elsif (($q eq "n") or ($q eq "narrative")) {
$option = "narrative";
} elsif (($q eq "d") or ($q eq "description")) {
$option = "description";
} elsif (($q ne "a") and ($q ne "all")) {
die "-q can only take t/title, n/narrative, d/description.\n";
}
}
my $query_filename = shift;
my $datadir = shift;
unless ($query_filename && $datadir) {
die "Must provide both query_filename and datadir.\n";
}
my $query = read_query($query_filename);
my $query_title = $$query{'TITLE'};
my $query_narrative = $$query{'NARRATIVE'};
my $query_description = $$query{'DESCRIPTION'};
my $ENG_IDF = "enidf";
my $CHIN_IDF = "cnidf";
extract_sentfeatures($datadir, {'Cluster' => \&cluster,
'Sentence' => \&sentence});
sub cluster {
my $cluster = shift;
# open the appropriate IDF file based on language...
if ($$cluster{'LANG'} && $$cluster{'LANG'} eq "CHIN") {
open_nidf($CHIN_IDF);
} else {
open_nidf($ENG_IDF);
}
}
sub sentence {
my $feature_vector = shift;
my $sentref = shift;
my $sentence_text = $$sentref{'TEXT'};
if (($option eq "all" or $option eq "title") and $query_title) {
$$feature_vector{'QueryTitleCosine'} =
cosine($query_title, $sentence_text, $idffile);
}
if (($option eq "all" or $option eq "narrative") and $query_narrative) {
$$feature_vector{'QueryNarrativeCosine'} =
cosine($query_narrative, $sentence_text, $idffile);
}
if (($option eq "all" or $option eq "description") and $query_description) {
$$feature_vector{'QueryDescriptionCosine'} =
cosine($query_description, $sentence_text, $idffile);
}
}
-------------- next part --------------
#!/usr/bin/perl -w
#########################################################################
#
# usage:
# echo cluster_filename | ./QueryCosineNoIDF.pl \
# [-q option] query_filename datadir
#
# option: specify which part of query is used to compute word overlap
# -q: "t", "title", "n", "narrative", "d", "description", "a", "all"
#
#########################################################################
use strict;
use Getopt::Long;
use FindBin;
use lib "$FindBin::Bin/../../lib/", "$FindBin::Bin/../../lib/arch/";
use MEAD::Query;
use MEAD::SentFeature;
use MEAD::Evaluation;
use Essence::Text;
# get the option
my $q;
GetOptions ("q=s" => \$q);
my $option = "all";
if ($q) {
$q =~ tr/[A-Z]/[a-z]/;
if (($q eq "t") or ($q eq "title")) {
$option = "title";
} elsif (($q eq "n") or ($q eq "narrative")) {
$option = "narrative";
} elsif (($q eq "d") or ($q eq "description")) {
$option = "description";
} elsif (($q ne "a") and ($q ne "all")) {
die "-q can only take t/title, n/narrative, d/description.\n";
}
}
my $query_filename = shift;
my $datadir = shift;
unless ($query_filename && $datadir) {
die "Must provide query_filename and datadir\n";
}
my $query = read_query($query_filename);
my $query_title = $$query{'TITLE'};
my $query_narrative = $$query{'NARRATIVE'};
my $query_description = $$query{'DESCRIPTION'};
extract_sentfeatures($datadir, {'Sentence' => \&sentence});
sub sentence {
my $feature_vector = shift;
my $sentref = shift;
my $sentence_text = $$sentref{'TEXT'};
if (($option eq "all" or $option eq "title") and $query_title) {
$$feature_vector{'QueryTitleCosineNoIDF'} =
simple_cosine($query_title, $sentence_text);
}
if (($option eq "all" or $option eq "narrative") and $query_narrative) {
$$feature_vector{'QueryNarrativeCosineNoIDF'} =
simple_cosine($query_narrative, $sentence_text);
}
if (($option eq "all" or $option eq "description") and $query_description) {
$$feature_vector{'QueryDescriptionCosineNoIDF'} =
simple_cosine($query_description, $sentence_text);
}
}
From radev at umich.edu Thu Aug 30 13:40:46 2007
From: radev at umich.edu (radev@umich.edu)
Date: Thu Aug 30 13:35:53 2007
Subject: [Mead] Re: need help regarding optimal feature weights
In-Reply-To: <3eabb5e00708281049o75c114dci9c692833388336d8@mail.gmail.com>
Message-ID: <20070830174046.E22BA60082A04@belobog.si.umich.edu>
Did you check the FAQ on www.summarization.com/mead ?
>
> ------=_Part_81476_5318632.1188323374818
> Content-Type: multipart/alternative;
> boundary="----=_Part_81477_1244368.1188323374818"
>
> ------=_Part_81477_1244368.1188323374818
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> Dear Sir,
> I have one more problem with QueryCosine
>
> Am trying to run mead using following command line
> ./mead.pl -meadrc /mead/data/GA3/sample.meadrc GA3
>
> With this i got 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
>
> ***********
>
> Am attaching my versions of QueryCosine.pl and QueryCosineNiIdf.pl with this
> mail(as requested by you in earlier post)
>
> Thanking you
> with regards,
> SRAVI
>
> ------=_Part_81477_1244368.1188323374818
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> Dear Sir,
I have one more problem with QueryCosine
Am trying to run mead using following command line
./mead.pl -meadrc /mead/data/GA3/sample.meadrc GA3
With this i got 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
***********
Am attaching my versions of
> QueryCosine.pl and QueryCosineNiIdf.pl with this mail(as requested by you in earlier post)
Thanking you
with regards,
SRAVI
>
> ------=_Part_81477_1244368.1188323374818--
>
> ------=_Part_81476_5318632.1188323374818
> Content-Type: application/x-perl; name=QueryCosine.pl
> Content-Transfer-Encoding: base64
> X-Attachment-Id: f_f5wp1hk1
> Content-Disposition: attachment; filename="Que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RmZWF0dXJlX3ZlY3Rv
> cnsnUXVlcnlEZXNjcmlwdGlvbkNvc2luZSd9ID0gCgkgICAgY29zaW5lKCRxdWVyeV9kZXNjcmlw
> dGlvbiwgJHNlbnRlbmNlX3RleHQsICRpZGZmaWxlKTsKICAgIH0KCn0KCg==
> ------=_Part_81476_5318632.1188323374818
> Content-Type: application/x-perl; name=QueryCosineNoIDF.pl
> Content-Transfer-Encoding: base64
> X-Attachment-Id: f_f5wp1s9g
> Content-Disposition: attachment; filename="QueryCosineNoIDF.pl"
>
> IyEvdXNyL2Jpbi9wZXJsIC13CgojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
> IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCiMKIyB1c2FnZToKIyAgIGVjaG8g
> Y2x1c3Rlcl9maWxlbmFtZSB8IC4vUXVlcnlDb3NpbmVOb0lERi5wbCBcCiMgICAgICAgWy1xIG9w
> dGlvbl0gcXVlcnlfZmlsZW5hbWUgZGF0YWRpcgojCiMgb3B0aW9uOiBzcGVjaWZ5IHdoaWNoIHBh
> cnQgb2YgcXVlcnkgaXMgdXNlZCB0byBjb21wdXRlIHdvcmQgb3ZlcmxhcAojICAgIC1xOiAidCIs
> ICJ0aXRsZSIsICJuIiwgIm5hcnJhdGl2ZSIsICJkIiwgImRlc2NyaXB0aW9uIiwgImEiLCAiYWxs
> IgojCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
> IyMjIyMjIyMjIyMjIyMjIyMjIyMKCnVzZSBzdHJpY3Q7Cgp1c2UgR2V0b3B0OjpMb25nOwoKdXNl
> IEZpbmRCaW47CnVzZSBsaWIgIiRGaW5kQmluOjpCaW4vLi4vLi4vbGliLyIsICIkRmluZEJpbjo6
> QmluLy4uLy4uL2xpYi9hcmNoLyI7Cgp1c2UgTUVBRDo6UXVlcnk7CnVzZ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ogICAgfQoKfQo=
> ------=_Part_81476_5318632.1188323374818
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Mead mailing list
> Mead@lists.si.umich.edu
> http://lists.si.umich.edu/mailman/listinfo/mead
>
> ------=_Part_81476_5318632.1188323374818--
>
>
--
Dragomir R. Radev Associate Professor
SI, CSE, Ling U. Michigan, Ann Arbor
http://www.eecs.umich.edu/~radev radev@umich.edu