mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Reilly <>
Subject Re: 20-newsgroups example
Date Tue, 01 Sep 2009 16:33:24 GMT
One more thing...

As I mentioned before, using this method is just a temporary hack until the
correct way is documented.  You'll also have to modify the build.xml that
you copied and modify the build.xml to find the examples jar by replacing
modifying the extract-20news-18828 target like so:

<target name="extract-20news-18828" depends="check-files"
    <mkdir dir="${working.dir}/20news-18828-collapse"/>
maxmemory="1024M" fork="true">
      <!--classpath refid="maven.test.classpath"/  Commented this out and
added next lines through /path -->
          <path id="lib.path.ref">
            <fileset dir="target" includes="*.jar"/>
          <path id="lib.path.ref">
            <fileset dir="lib" includes="*.jar"/>

      Input format is:
      inputDir outputDir label Analyzer character set
      <arg line="-p ${working.dir}/20news-18828/ -o
${working.dir}/20news-18828-collapse -a
org.apache.lucene.analysis.standard.StandardAnalyzer -c UTF-8"/>

Again, HTH,

On Tue, Sep 1, 2009 at 10:42 AM, Adam Reilly <> wrote:

> Gökhan,
> Additionally, I know that the 20newsgroups stuff is in the process of
> migrating away from the ant-based build scripts to Maven.  I'm sure there's
> a more proper 'maven-ish' way to do this, but I've found that copying the
> file located at 'maven/build.xml' to the examples directory allows you to
> use most of the data preparation (stuff in the Setup section) commands
> directly from the wiki page.  They didn't seem wot work with the
> 'build-depricated.xml' file in the examples folder from trunk.
> I've been working with the 20newsgroups stuff recently, thanks to a lot of
> help from Robin, so let me know if there's anything else you're having
> problems with.
> HTH,
> Adam
> On Tue, Sep 1, 2009 at 4:39 AM, Gökhan Çapan <> wrote:
>> Thank you, Robin. I'll try it.
>> 2009/9/1 Robin Anil <>
>> > those docs are not modified yet. take a look at MAHOUT-124
>> >
>> > You will find the usage and the cli changes there
>> >
>> >

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message