You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by is...@apache.org on 2013/11/20 16:43:35 UTC
svn commit: r1543847 -
/mahout/site/mahout_cms/trunk/content/users/basics/creating-vectors-from-text.mdtext
Author: isabel
Date: Wed Nov 20 15:43:35 2013
New Revision: 1543847
URL: http://svn.apache.org/r1543847
Log:
MAHOUT-1245 - one more try at getting blockquoting right.
Modified:
mahout/site/mahout_cms/trunk/content/users/basics/creating-vectors-from-text.mdtext
Modified: mahout/site/mahout_cms/trunk/content/users/basics/creating-vectors-from-text.mdtext
URL: http://svn.apache.org/viewvc/mahout/site/mahout_cms/trunk/content/users/basics/creating-vectors-from-text.mdtext?rev=1543847&r1=1543846&r2=1543847&view=diff
==============================================================================
--- mahout/site/mahout_cms/trunk/content/users/basics/creating-vectors-from-text.mdtext (original)
+++ mahout/site/mahout_cms/trunk/content/users/basics/creating-vectors-from-text.mdtext Wed Nov 20 15:43:35 2013
@@ -43,16 +43,22 @@ option. Examples of running the Driver
<a name="CreatingVectorsfromText-GeneratinganoutputfilefromaLuceneIndex"></a>
## Generating an output file from a Lucene Index
-<blockquote>
- $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]
+<pre><code>
- <--max <Number of vectors to output>> <--norm {INF|integer >= 0}>
+> $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>>
- <--idField <Name of the idField in the Lucene index>>
-</blockquote>
+</code></pre>
<a name="CreatingVectorsfromText-Create50VectorsfromanIndex"></a>
### Create 50 Vectors from an Index
@@ -185,5 +191,3 @@ reuse the existing VectorWriter classes:
long numDocs = vectorWriter.write(new VectorIterable(), Long.MAX_VALUE);
</blockquote>
-
-