From ybedekar at buffalo.edu Mon Jun 23 12:50:18 2008 From: ybedekar at buffalo.edu (ybedekar@buffalo.edu) Date: Mon Jun 23 12:38:57 2008 Subject: [Mead] Requesting help in running MEAD Message-ID: <14270.1214239818@buffalo.edu> Hi, I am Yogesh and am a student at the University at Buffalo. I want to use MEAD for a multi-document summarization task and have successfuly installed MEAD 3.11 on SunOS 5.9. While running the command './mead.pl GA3' as directed in the documentation, I am facing the following error - pegasus {/scratch/ybedekar/MEAD-3.11/mead/bin} > ./mead.pl GA3 Using system rc-file: /scratch/ybedekar/MEAD-3.11/mead/bin/../.meadrc Warning: Can't find user rc-file Cluster: /scratch/ybedekar/MEAD-3.11/mead/bin/../data/GA3/GA3.cluster ld.so.1: iconv: fatal: libgcc_s.so.1: open failed: No such file or directory no element found at line 1, column 0, byte 0 at /util/lib/perl5/site_perl/5.8.4/sun4-solaris/XML/Parser.pm line 187 no element found at line 1, column 0, byte 0 at /util/lib/perl5/site_perl/5.8.4/sun4-solaris/XML/Parser.pm line 187 no element found at line 1, column 0, byte 0 at /util/lib/perl5/site_perl/5.8.4/sun4-solaris/XML/Parser.pm line 187 Could you please guide me as to what the problem is and why I am unable to run MEAD. The cluster file is present in the correct directory. Many thanks in advance for any help. Eventually my goal is used to generate query based summaries for a cluster of documents as described in section 12 of the documentation. Thanks, Yogesh From ybedekar at buffalo.edu Tue Jun 24 17:00:44 2008 From: ybedekar at buffalo.edu (ybedekar@buffalo.edu) Date: Tue Jun 24 16:49:16 2008 Subject: [Mead] Errors with QueryCosine.pl Message-ID: <7092.1214341244@buffalo.edu> Hi, I am facing the following error when I run QueryCosine.pl as directed in the documentation:- 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. I went through the mailing list and saw that a similar problem has been encountered earlier. I tried to apply the same solution, i.e- 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; However this has not solved the problem. Could anyone please help me with solving this problem? Thanks, Yogesh From radev at umich.edu Tue Jun 24 17:03:22 2008 From: radev at umich.edu (radev@umich.edu) Date: Tue Jun 24 16:51:51 2008 Subject: [Mead] Errors with QueryCosine.pl In-Reply-To: <7092.1214341244@buffalo.edu> Message-ID: <20080624210322.4E2736018FA36@belobog.si.umich.edu> Chen, can you please help here? > > Hi, > > I am facing the following error when I run QueryCosine.pl as directed in the > documentation:- > > 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. > > I went through the mailing list and saw that a similar problem has been > encountered earlier. > I tried to apply the same solution, i.e- > > 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; > > However this has not solved the problem. > > Could anyone please help me with solving this problem? > > Thanks, > Yogesh > _______________________________________________ > Mead mailing list > Mead@lists.si.umich.edu > http://lists.si.umich.edu/mailman/listinfo/mead > > -- Dragomir R. Radev Associate Professor SI, CSE, Ling U. Michigan, Ann Arbor http://www.eecs.umich.edu/~radev radev@umich.edu From ybedekar at buffalo.edu Tue Jun 24 20:47:57 2008 From: ybedekar at buffalo.edu (ybedekar@buffalo.edu) Date: Tue Jun 24 20:46:13 2008 Subject: [Mead] Errors with QueryCosine.pl Message-ID: <48398.1214354877@buffalo.edu> Dear Sir, Thanks for your reply. Could you please guide me further in my effort to produce query based multi-document summaries using MEAD. I have a deadline on Thursday to complete this task, and would really appreciate help on this issue. 1) I edited the file QueryCosine.pl and added the following line below the line 'my $datadir = shift;'- 'my $idffile = shift;' 2) After this, I ran the following command - echo /eng/home/ybedekar/mead/data/GA3/GA3.cluster | /eng/home/ybedekar/mead/bin/feature-scripts/QueryCosine.pl -q t /eng/home/ybedekar/mead/data/GA3/GA3.query /eng/home/ybedekar/mead/data/GA3/docsent /eng/home/ybedekar/mead/etc/enidf This produced output on the command line which I think is the sentfeature file. 3) I then supplied this as an input to the default classifier using the following command - echo /eng/home/ybedekar/mead/data/GA3/GA3.cluster | /eng/home/ybedekar/mead/bin/feature-scripts/QueryCosine.pl -q t /eng/home/ybedekar/mead/data/GA3/GA3.query /eng/home/ybedekar/mead/data/GA3/docsent /eng/home/ybedekar/mead/etc/enidf | /eng/home/ybedekar/mead/bin/default-classifier.pl Length 9 Centroid 1 Position 1 QueryTitleCosine 1 I think this produced the sentjudge file as output. 4) I think now the final step is to generate the summary, and I am not sure how to do it. Is the script QueryCosine.pl supposed to create a file GA3.QueryCosineTitle.sentfeature in the data/GA3/feature directory? After this, is the default classifier supposed to produce a file GA3.sentjudge in the data/GA3 directory? Assuming that both these files are generated correctly, does the script mead.pl then use this file to produce the query based summary? Many thanks in advance for any help on this issue. Yogesh On Tue Jun 24 17:03 , radev@umich.edu sent: >Chen, can you please help here? > >> >> Hi, >> >> I am facing the following error when I run QueryCosine.pl as directed in the >> documentation:- >> >> 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. >> >> I went through the mailing list and saw that a similar problem has been >> encountered earlier. >> I tried to apply the same solution, i.e- >> >> 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; >> >> However this has not solved the problem. >> >> Could anyone please help me with solving this problem? >> >> Thanks, >> Yogesh >> _______________________________________________ >> Mead mailing list >> Mead@lists.si.umich.edu >> http://lists.si.umich.edu/mailman/listinfo/mead >> >> > > >-- >Dragomir R. Radev Associate Professor >SI, CSE, Ling U. Michigan, Ann Arbor >http://www.eecs.umich.edu/~radev radev@umich.edu > From chhuang at umich.edu Tue Jun 24 22:40:14 2008 From: chhuang at umich.edu (HUANG Chen) Date: Tue Jun 24 22:28:46 2008 Subject: [Mead] Errors with QueryCosine.pl In-Reply-To: <48398.1214354877@buffalo.edu> References: <48398.1214354877@buffalo.edu> Message-ID: <26b655d0806241940h166fc8d4w2a11cdca5f411d7e@mail.gmail.com> Hi Yogesh, I suppose you have already generated the *.sentjudge file. Then you should be able to use : .../mead/bin/sentjudge-to-extract .../mead/data/GA3/GA3.sentjudge This is a script to extract the most important sentences based on the judges' scores on all sentences. In other words, this will produce the summary in the format similar to this: "DID 41 SNO 2, DID 41 SNO 3,...", DID 41 refers to a document with ID 41 in the GA3 cluster, SNO 2 refers to the 2nd sentence of the document DID 41. Please output it to a file, e.g. GA3.10.extract. Then what you need to do is to transfer this format into a more readable format, you should be able to use this script: .../mead/bin/extract-to-summary.pl .../mead/data/GA3/GA3.cluster .../mead/data/GA3/docsent .../mead/data/GA3/GA3.10.extract note that it need three parameters: GA3.cluster GA3/docsent GA3.10.extract (what you generated before). This way it will match the docid and sentid with the actual document and sentence, output the final summary. Do you still have problem with the MEAD setup? I will look into your previous emails if you still have problems with them. Let me know if you need more help. Thanks, Chen On Tue, Jun 24, 2008 at 8:47 PM, wrote: > Dear Sir, > > Thanks for your reply. > Could you please guide me further in my effort to produce query based > multi-document summaries using MEAD. > I have a deadline on Thursday to complete this task, and would really appreciate > help on this issue. > > 1) I edited the file QueryCosine.pl and added the following line below the line > 'my $datadir = shift;'- > > 'my $idffile = shift;' > > 2) After this, I ran the following command - > > echo /eng/home/ybedekar/mead/data/GA3/GA3.cluster | > /eng/home/ybedekar/mead/bin/feature-scripts/QueryCosine.pl -q t > /eng/home/ybedekar/mead/data/GA3/GA3.query > /eng/home/ybedekar/mead/data/GA3/docsent /eng/home/ybedekar/mead/etc/enidf > > This produced output on the command line which I think is the sentfeature file. > > 3) I then supplied this as an input to the default classifier using the following > command - > > echo /eng/home/ybedekar/mead/data/GA3/GA3.cluster | > /eng/home/ybedekar/mead/bin/feature-scripts/QueryCosine.pl -q t > /eng/home/ybedekar/mead/data/GA3/GA3.query > /eng/home/ybedekar/mead/data/GA3/docsent /eng/home/ybedekar/mead/etc/enidf | > /eng/home/ybedekar/mead/bin/default-classifier.pl Length 9 Centroid 1 Position 1 > QueryTitleCosine 1 > > I think this produced the sentjudge file as output. > > 4) I think now the final step is to generate the summary, and I am not sure how > to do it. > > Is the script QueryCosine.pl supposed to create a file > GA3.QueryCosineTitle.sentfeature in the data/GA3/feature directory? > After this, is the default classifier supposed to produce a file GA3.sentjudge in > the data/GA3 directory? > Assuming that both these files are generated correctly, does the script mead.pl > then use this file to produce the query based summary? > > Many thanks in advance for any help on this issue. > > > Yogesh > > > > On Tue Jun 24 17:03 , radev@umich.edu sent: > >>Chen, can you please help here? >> >>> >>> Hi, >>> >>> I am facing the following error when I run QueryCosine.pl as directed in the >>> documentation:- >>> >>> 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. >>> >>> I went through the mailing list and saw that a similar problem has been >>> encountered earlier. >>> I tried to apply the same solution, i.e- >>> >>> 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; >>> >>> However this has not solved the problem. >>> >>> Could anyone please help me with solving this problem? >>> >>> Thanks, >>> Yogesh >>> _______________________________________________ >>> Mead mailing list >>> Mead@lists.si.umich.edu >>> http://lists.si.umich.edu/mailman/listinfo/mead >>> >>> >> >> >>-- >>Dragomir R. Radev Associate Professor >>SI, CSE, Ling U. Michigan, Ann Arbor >>http://www.eecs.umich.edu/~radev radev@umich.edu >> > > > > > -- Chen Huang School of Information University of Michigan at Ann Arbor From ybedekar at buffalo.edu Wed Jun 25 20:18:08 2008 From: ybedekar at buffalo.edu (ybedekar@buffalo.edu) Date: Wed Jun 25 20:06:36 2008 Subject: [Mead] Errors with QueryCosine.pl Message-ID: <51966.1214439488@buffalo.edu> Hi Chen, Thanks a lot for your help. I was able to successfully generate the summary after following your instructions. I am now facing another problem in converting my existing corpus to docsent format. I set the variable PERL5LIB and also edited the file MEAD_ADDONS_UTIL.pm as directed in the documentation. But it is still giving the message -'./text2cluster.pl: Command not found.' Could you please advise me as to what the problem could be. Also, the documentation talks about segmented and unsegmented files. What exactly is the difference between the two in the context of MEAD? Can one consider any ordinary text document segmented? Thanks in advance for any help. Yogesh On Tue Jun 24 22:40 , "HUANG Chen" sent: >Hi Yogesh, > >I suppose you have already generated the *.sentjudge file. Then you >should be able to use : > >.../mead/bin/sentjudge-to-extract .../mead/data/GA3/GA3.sentjudge > >This is a script to extract the most important sentences based on the >judges' scores on all sentences. In other words, this will produce the >summary in the format similar to this: >"DID 41 SNO 2, DID 41 SNO 3,...", DID 41 refers to a document with ID >41 in the GA3 cluster, SNO 2 refers to the 2nd sentence of the >document DID 41. > >Please output it to a file, e.g. GA3.10.extract. > >Then what you need to do is to transfer this format into a more >readable format, you should be able to use this script: >.../mead/bin/extract-to-summary.pl .../mead/data/GA3/GA3.cluster >.../mead/data/GA3/docsent .../mead/data/GA3/GA3.10.extract > >note that it need three parameters: GA3.cluster GA3/docsent >GA3.10.extract (what you generated before). > >This way it will match the docid and sentid with the actual document >and sentence, output the final summary. > >Do you still have problem with the MEAD setup? I will look into your >previous emails if you still have problems with them. > >Let me know if you need more help. > >Thanks, >Chen > > >On Tue, Jun 24, 2008 at 8:47 PM, ybedekar@buffalo.edu> wrote: >> Dear Sir, >> >> Thanks for your reply. >> Could you please guide me further in my effort to produce query based >> multi-document summaries using MEAD. >> I have a deadline on Thursday to complete this task, and would really appreciate >> help on this issue. >> >> 1) I edited the file QueryCosine.pl and added the following line below the line >> 'my $datadir = shift;'- >> >> 'my $idffile = shift;' >> >> 2) After this, I ran the following command - >> >> echo /eng/home/ybedekar/mead/data/GA3/GA3.cluster | >> /eng/home/ybedekar/mead/bin/feature-scripts/QueryCosine.pl -q t >> /eng/home/ybedekar/mead/data/GA3/GA3.query >> /eng/home/ybedekar/mead/data/GA3/docsent /eng/home/ybedekar/mead/etc/enidf >> >> This produced output on the command line which I think is the sentfeature file. >> >> 3) I then supplied this as an input to the default classifier using the following >> command - >> >> echo /eng/home/ybedekar/mead/data/GA3/GA3.cluster | >> /eng/home/ybedekar/mead/bin/feature-scripts/QueryCosine.pl -q t >> /eng/home/ybedekar/mead/data/GA3/GA3.query >> /eng/home/ybedekar/mead/data/GA3/docsent /eng/home/ybedekar/mead/etc/enidf | >> /eng/home/ybedekar/mead/bin/default-classifier.pl Length 9 Centroid 1 Position 1 >> QueryTitleCosine 1 >> >> I think this produced the sentjudge file as output. >> >> 4) I think now the final step is to generate the summary, and I am not sure how >> to do it. >> >> Is the script QueryCosine.pl supposed to create a file >> GA3.QueryCosineTitle.sentfeature in the data/GA3/feature directory? >> After this, is the default classifier supposed to produce a file GA3.sentjudge in >> the data/GA3 directory? >> Assuming that both these files are generated correctly, does the script mead.pl >> then use this file to produce the query based summary? >> >> Many thanks in advance for any help on this issue. >> >> >> Yogesh >> >> >> >> On Tue Jun 24 17:03 , radev@umich.edu sent: >> >>>Chen, can you please help here? >>> >>>> >>>> Hi, >>>> >>>> I am facing the following error when I run QueryCosine.pl as directed in the >>>> documentation:- >>>> >>>> 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. >>>> >>>> I went through the mailing list and saw that a similar problem has been >>>> encountered earlier. >>>> I tried to apply the same solution, i.e- >>>> >>>> 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; >>>> >>>> However this has not solved the problem. >>>> >>>> Could anyone please help me with solving this problem? >>>> >>>> Thanks, >>>> Yogesh >>>> _______________________________________________ >>>> Mead mailing list >>>> Mead@lists.si.umich.edu >>>> http://lists.si.umich.edu/mailman/listinfo/mead >>>> >>>> >>> >>> >>>-- >>>Dragomir R. Radev Associate Professor >>>SI, CSE, Ling U. Michigan, Ann Arbor >>>http://www.eecs.umich.edu/~radev radev@umich.edu >>> >> >> >> >> >> > > > >-- >Chen Huang > >School of Information >University of Michigan at Ann Arbor > From chhuang at umich.edu Thu Jun 26 14:29:27 2008 From: chhuang at umich.edu (HUANG Chen) Date: Thu Jun 26 14:17:55 2008 Subject: [Mead] Errors with QueryCosine.pl In-Reply-To: <51966.1214439488@buffalo.edu> References: <51966.1214439488@buffalo.edu> Message-ID: <26b655d0806261129u2b643de5lc9fd9288d5879108@mail.gmail.com> Hi Yogesh, Have you tried: perl .../mead/bin/addons/formatting/text2cluster.pl? It looks like your system could not find the script. segmented files are articles with sentence segmented between each other with some delimiter. e.g.: segmented with "\n": You see. This is a segmented files. unsegmented: you see. This is not a segmented files. On Wed, Jun 25, 2008 at 8:18 PM, wrote: > Hi Chen, > > Thanks a lot for your help. > I was able to successfully generate the summary after following your instructions. > I am now facing another problem in converting my existing corpus to docsent format. > I set the variable PERL5LIB and also edited the file MEAD_ADDONS_UTIL.pm as > directed in the documentation. > But it is still giving the message -'./text2cluster.pl: Command not found.' > Could you please advise me as to what the problem could be. > Also, the documentation talks about segmented and unsegmented files. > What exactly is the difference between the two in the context of MEAD? > Can one consider any ordinary text document segmented? > > Thanks in advance for any help. > > Yogesh > > On Tue Jun 24 22:40 , "HUANG Chen" sent: > >>Hi Yogesh, >> >>I suppose you have already generated the *.sentjudge file. Then you >>should be able to use : >> >>.../mead/bin/sentjudge-to-extract .../mead/data/GA3/GA3.sentjudge >> >>This is a script to extract the most important sentences based on the >>judges' scores on all sentences. In other words, this will produce the >>summary in the format similar to this: >>"DID 41 SNO 2, DID 41 SNO 3,...", DID 41 refers to a document with ID >>41 in the GA3 cluster, SNO 2 refers to the 2nd sentence of the >>document DID 41. >> >>Please output it to a file, e.g. GA3.10.extract. >> >>Then what you need to do is to transfer this format into a more >>readable format, you should be able to use this script: >>.../mead/bin/extract-to-summary.pl .../mead/data/GA3/GA3.cluster >>.../mead/data/GA3/docsent .../mead/data/GA3/GA3.10.extract >> >>note that it need three parameters: GA3.cluster GA3/docsent >>GA3.10.extract (what you generated before). >> >>This way it will match the docid and sentid with the actual document >>and sentence, output the final summary. >> >>Do you still have problem with the MEAD setup? I will look into your >>previous emails if you still have problems with them. >> >>Let me know if you need more help. >> >>Thanks, >>Chen >> >> >>On Tue, Jun 24, 2008 at 8:47 PM, ybedekar@buffalo.edu> wrote: >>> Dear Sir, >>> >>> Thanks for your reply. >>> Could you please guide me further in my effort to produce query based >>> multi-document summaries using MEAD. >>> I have a deadline on Thursday to complete this task, and would really appreciate >>> help on this issue. >>> >>> 1) I edited the file QueryCosine.pl and added the following line below the line >>> 'my $datadir = shift;'- >>> >>> 'my $idffile = shift;' >>> >>> 2) After this, I ran the following command - >>> >>> echo /eng/home/ybedekar/mead/data/GA3/GA3.cluster | >>> /eng/home/ybedekar/mead/bin/feature-scripts/QueryCosine.pl -q t >>> /eng/home/ybedekar/mead/data/GA3/GA3.query >>> /eng/home/ybedekar/mead/data/GA3/docsent /eng/home/ybedekar/mead/etc/enidf >>> >>> This produced output on the command line which I think is the sentfeature file. >>> >>> 3) I then supplied this as an input to the default classifier using the following >>> command - >>> >>> echo /eng/home/ybedekar/mead/data/GA3/GA3.cluster | >>> /eng/home/ybedekar/mead/bin/feature-scripts/QueryCosine.pl -q t >>> /eng/home/ybedekar/mead/data/GA3/GA3.query >>> /eng/home/ybedekar/mead/data/GA3/docsent /eng/home/ybedekar/mead/etc/enidf | >>> /eng/home/ybedekar/mead/bin/default-classifier.pl Length 9 Centroid 1 Position 1 >>> QueryTitleCosine 1 >>> >>> I think this produced the sentjudge file as output. >>> >>> 4) I think now the final step is to generate the summary, and I am not sure how >>> to do it. >>> >>> Is the script QueryCosine.pl supposed to create a file >>> GA3.QueryCosineTitle.sentfeature in the data/GA3/feature directory? >>> After this, is the default classifier supposed to produce a file GA3.sentjudge in >>> the data/GA3 directory? >>> Assuming that both these files are generated correctly, does the script mead.pl >>> then use this file to produce the query based summary? >>> >>> Many thanks in advance for any help on this issue. >>> >>> >>> Yogesh >>> >>> >>> >>> On Tue Jun 24 17:03 , radev@umich.edu sent: >>> >>>>Chen, can you please help here? >>>> >>>>> >>>>> Hi, >>>>> >>>>> I am facing the following error when I run QueryCosine.pl as directed in the >>>>> documentation:- >>>>> >>>>> 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. >>>>> >>>>> I went through the mailing list and saw that a similar problem has been >>>>> encountered earlier. >>>>> I tried to apply the same solution, i.e- >>>>> >>>>> 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; >>>>> >>>>> However this has not solved the problem. >>>>> >>>>> Could anyone please help me with solving this problem? >>>>> >>>>> Thanks, >>>>> Yogesh >>>>> _______________________________________________ >>>>> Mead mailing list >>>>> Mead@lists.si.umich.edu >>>>> http://lists.si.umich.edu/mailman/listinfo/mead >>>>> >>>>> >>>> >>>> >>>>-- >>>>Dragomir R. Radev Associate Professor >>>>SI, CSE, Ling U. Michigan, Ann Arbor >>>>http://www.eecs.umich.edu/~radev radev@umich.edu >>>> >>> >>> >>> >>> >>> >> >> >> >>-- >>Chen Huang >> >>School of Information >>University of Michigan at Ann Arbor >> > > > > > -- Chen Huang School of Information University of Michigan at Ann Arbor