From paddanx at emailplus.org Thu Apr 12 07:56:51 2007 From: paddanx at emailplus.org (Kaveh Piroozram) Date: Thu Apr 12 07:22:05 2007 Subject: [Mead] A question about creating a new cluster Message-ID: <1176379011.22657.1184238511@webmail.messagingengine.com> Hello! I have created some docsent files with: ./addons/formatting/text2cluster.pl directory/* But when i run: ./mead.pl -docsent_dir directory/docsent i get: Must provide a cluster or docsent argument. Later on i realized i get this answer no matter what i give to 'mead.pl'. So, now i think i had to feed the mead.pl with a cluster name not pure docsent files. like: ./mead.pl GA3 My question is : I have a bunch of plain text files. (Now in docsent too). How do i go about creating a new full-fledged cluster like the GA3 sample provided? I have read the documentation but couldn't (in case it was mentioned there) absorb it. I can reread it though. Thanks for your time and/or any suggestions, paddan -- Kaveh Piroozram paddanx@emailplus.org -- http://www.fastmail.fm - Accessible with your email software or over the web From radev at umich.edu Tue Apr 17 19:29:22 2007 From: radev at umich.edu (Dragomir R. Radev) Date: Tue Apr 17 18:54:18 2007 Subject: [Mead] Re: MEAD query In-Reply-To: Message-ID: <20070417225417.5E45BC09E@krusty.si.umich.edu> Hi, What does your input query file look like? Drago > > Hi, > I have encountered some problems with the query based method. I'm trying to > run it from command line but so far I have failed. > > data/GA3/GA3.query | bin/feature-scripts/QueryCosineNoIDF.pl -q t > data/GA3/GA3.query data/GA3/docsent/ > > this gives: > data/GA3/GA3.query: line 1: syntax error near unexpected token `newline' > data/GA3/GA3.query: line 1: `' > > > > > While > bin/feature-scripts/QueryCosineNoIDF.pl -q t data/GA3/GA3.query > data/GA3/docsent/ > gives this: > > > and then never stops. > > Any ideas? > Thankful for reply. baoler > > _________________________________________________________________ > Visa upp din b?sta v?rbild http://vartecken.spaces.live.com/ > > > -- Dragomir R. Radev Associate Professor SI, CSE, Ling U. Michigan, Ann Arbor http://www.eecs.umich.edu/~radev radev@umich.edu From radev at umich.edu Fri Apr 27 11:11:39 2007 From: radev at umich.edu (Dragomir R. Radev) Date: Fri Apr 27 10:35:50 2007 Subject: [Mead] Re: MEAD query In-Reply-To: Message-ID: <20070427143548.C7554C091@krusty.si.umich.edu> Can I see your versions of: QueryCosineNoIDF.pl QueryCosine.pl > > This solved my problem: > > echo data/GA3/GA3.cluster | bin/feature-scripts/QueryCosineNoIDF.pl -q t > data/GA3/GA3.query data/GA3/docsent > > The problem now is that I can not get the QueryCosine to work. With the same > command as above I get this error: > > Global symbol "$idffile" requires explicit package name at > bin/feature-scripts/QueryCosine.pl line 83. > Global symbol "$idffile" requires explicit package name at > bin/feature-scripts/QueryCosine.pl line 88. > Global symbol "$idffile" requires explicit package name at > bin/feature-scripts/QueryCosine.pl line 93. > Execution of bin/feature-scripts/QueryCosine.pl aborted due to compilation > errors. > > I don't know where to put the idffile. > > > >From: radev@umich.edu > >Reply-To: radev@umich.edu > >To: baoler81@hotmail.com (jaha bolld) > >Subject: Re: MEAD query > >Date: Thu, 19 Apr 2007 22:27:11 -0400 (EDT) > > > >Can you also send me the *.cluster file? > > > > > > > > > > Hi, > > > This is what the GA3.query file looks like: > > > > > > Gulfair plane crash > > > > > > > > > The command line I'm trying to use is this: > > > data/GA3/GA3.cluster | bin/feature-scripts/QueryCosineNoIDF.pl -q t > > > data/GA3/GA3.query data/CLUSTER/docsent/ > > > > > > and the error message I get: > > > data/GA3/GA3.cluster: line 1: syntax error near unexpected token > >`newline' > > > data/GA3/GA3.cluster: line 1: `' > > > > > > > > > > > > > > > I have tried to edit the GA3.cluster but it is always something wrong > >with > > > the first line. Thanks for trying to help. > > > > > > > > > > > > > > > >From: radev@umich.edu > > > >Reply-To: radev@umich.edu > > > >To: baoler81@hotmail.com (jaha bolld) > > > >CC: mead@lists.si.umich.edu, clairlib-dev@umich.edu > > > >Subject: Re: MEAD query > > > >Date: Tue, 17 Apr 2007 19:29:22 -0400 (EDT) > > > > > > > >Hi, > > > > > > > >What does your input query file look like? > > > > > > > >Drago > > > > > > > > > > > > > > > > > > Hi, > > > > > I have encountered some problems with the query based method. I'm > >trying > > > >to > > > > > run it from command line but so far I have failed. > > > > > > > > > > data/GA3/GA3.query | bin/feature-scripts/QueryCosineNoIDF.pl -q t > > > > > data/GA3/GA3.query data/GA3/docsent/ > > > > > > > > > > this gives: > > > > > data/GA3/GA3.query: line 1: syntax error near unexpected token > >`newline' > > > > > data/GA3/GA3.query: line 1: ` >TRANSLATED="NO">' > > > > > > > > > > > > > > > > > > > > > > > > > While > > > > > bin/feature-scripts/QueryCosineNoIDF.pl -q t data/GA3/GA3.query > > > > > data/GA3/docsent/ > > > > > gives this: > > > > > > > > > > > > > > > and then never stops. > > > > > > > > > > Any ideas? > > > > > Thankful for reply. baoler > > > > > > > > > > _________________________________________________________________ > > > > > Visa upp din b?sta v?rbild http://vartecken.spaces.live.com/ > > > > > > > > > > > > > > > > > > > > > > > > > > >-- > > > >Dragomir R. Radev Associate Professor > > > >SI, CSE, Ling U. Michigan, Ann Arbor > > > >http://www.eecs.umich.edu/~radev radev@umich.edu > > > > > > _________________________________________________________________ > > > Lyxigt och h?ftigt p? Gen?ves motorm?ssa > > > > >http://autoshow.cars.msn.se/salons/geneva2007/Article.aspx?cp-documentid=3883888 > > > > > > > > > > > > > > >-- > >Dragomir R. Radev Associate Professor > >SI, CSE, Ling U. Michigan, Ann Arbor > >http://www.eecs.umich.edu/~radev radev@umich.edu > > _________________________________________________________________ > En m?nads gratis musikstreaming > http://sib1.od2.com/common/framework11.aspx?shid=0730002E > > > -- Dragomir R. Radev Associate Professor SI, CSE, Ling U. Michigan, Ann Arbor http://www.eecs.umich.edu/~radev radev@umich.edu