You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by bu...@apache.org on 2013/11/20 16:50:46 UTC

svn commit: r887365 - in /websites/staging/mahout/trunk/content: ./ users/basics/creating-vectors-from-text.html

Author: buildbot
Date: Wed Nov 20 15:50:46 2013
New Revision: 887365

Log:
Staging update by buildbot for mahout

Modified:
    websites/staging/mahout/trunk/content/   (props changed)
    websites/staging/mahout/trunk/content/users/basics/creating-vectors-from-text.html

Propchange: websites/staging/mahout/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Nov 20 15:50:46 2013
@@ -1 +1 @@
-1543847
+1543848

Modified: websites/staging/mahout/trunk/content/users/basics/creating-vectors-from-text.html
==============================================================================
--- websites/staging/mahout/trunk/content/users/basics/creating-vectors-from-text.html (original)
+++ websites/staging/mahout/trunk/content/users/basics/creating-vectors-from-text.html Wed Nov 20 15:50:46 2013
@@ -414,23 +414,23 @@ several input options, which can be disp
 option.  Examples of running the Driver are included below:</p>
 <p><a name="CreatingVectorsfromText-GeneratinganoutputfilefromaLuceneIndex"></a></p>
 <h2 id="generating-an-output-file-from-a-lucene-index">Generating an output file from a Lucene Index</h2>
-<pre><code>
+<p>~~~~.html</p>
+<div class="codehilite"><pre><span class="p">$</span>MAHOUT_HOME<span class="o">/</span>bin<span class="o">/</span>mahout lucene.vector <span class="o">&lt;</span>PATH TO DIRECTORY CONTAINING LUCENE INDEX<span class="o">&gt;</span>
 
->    $MAHOUT_HOME/bin/mahout lucene.vector <PATH TO DIRECTORY CONTAINING LUCENE INDEX> 
->
->       --output <PATH TO OUTPUT LOCATION> 
->
->       --field <NAME OF FIELD IN INDEX> 
->
->       --dictOut <PATH TO FILE TO OUTPUT THE DICTIONARY TO>
->
->       <--max <Number of vectors to output>> <--norm {INF|integer >= 0}>
->
->       <--idField <Name of the idField in the Lucene index>>
+    <span class="o">--</span>output <span class="o">&lt;</span>PATH TO OUTPUT LOCATION<span class="o">&gt;</span>
 
+   <span class="o">--</span>field <span class="o">&lt;</span>NAME OF FIELD IN INDEX<span class="o">&gt;</span>
 
-</code></pre>
+   <span class="o">--</span>dictOut <span class="o">&lt;</span>PATH TO FILE TO OUTPUT THE DICTIONARY TO<span class="o">&gt;</span>
 
+   <span class="o">&lt;--</span>max <span class="o">&lt;</span>Number of vectors to output<span class="o">&gt;&gt;</span> <span class="o">&lt;--</span>norm <span class="p">{</span>INF<span class="o">|</span>integer <span class="o">&gt;=</span> <span class="m">0</span><span class="p">}</span><span class="o">&gt;</span>
+
+   <span class="o">&lt;--</span>idField <span class="o">&lt;</span>Name of the idField in the Lucene index<span class="o">&gt;&gt;</span>
+</pre></div>
+
+
+<p>~~~~</p>
+<p></code></pre></p>
 <p><a name="CreatingVectorsfromText-Create50VectorsfromanIndex"></a></p>
 <h3 id="create-50-vectors-from-an-index">Create 50 Vectors from an Index</h3>
 <blockquote>