Skip to content

Commit 5bcd2c6

Browse files
committed
Small update to quick start instructions
1 parent 1ac8043 commit 5bcd2c6

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

docs/quickstart.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,26 @@ <h1 class="doc-title"><i class="icon fa fa-paper-plane"></i> SparkNLP - Quick St
8585
<section id="concepts-section" class="doc-section">
8686
<h2 class="section-title">Requirements</h2>
8787
<div class="section-block">
88-
<p>Since SparkNLP runs on top of Apache Spark 2.1.2,
89-
it is needed to have basic knowledge and a working environment.
90-
Refer to its
88+
<p>SparkNLP runs on top of Apache Spark 2.1.2,
89+
it is advised to have basic knowledge of the framework and a working environment
90+
before using Spark-NLP. Refer to its
9191
<a href="http://spark.apache.org/docs/2.1.2/index.html">documentation</a> to
9292
get started with Spark.
9393
</p>
94-
<p>
95-
To use the most recent version just add the --packages JohnSnowLabs:spark-nlp:1.2.5 to you spark command
96-
<div>spark-shell --packages JohnSnowLabs:spark-nlp:1.2.5</div>
97-
<div>pyspark --packages JohnSnowLabs:spark-nlp:1.2.5</div>
98-
<div>spark-submit --packages JohnSnowLabs:spark-nlp:1.2.5</div>
94+
To start using the library, execute any of the following lines
95+
depending on your desired use case:
96+
</p>
9997
</p>
98+
<pre><code class="language-python">spark-shell --packages JohnSnowLabs:spark-nlp:1.2.5
99+
pyspark --packages JohnSnowLabs:spark-nlp:1.2.5
100+
spark-submit --packages JohnSnowLabs:spark-nlp:1.2.5
101+
</code></pre>
100102
<p>
101-
Another way is including downloadable snapshot jar in spark classpath,
103+
Another way to use the library is by appending jar file into spark classpath,
102104
which can be downloaded
103105
<a href="http://repo1.maven.org/maven2/com/johnsnowlabs/nlp/spark-nlp_2.11/1.2.5/spark-nlp_2.11-1.2.5.jar">here</a>
104-
then, run spark-shell or spark-submit with <b>--jars
105-
/path/to/spark-nlp.jar</b> to use the library in scala spark.
106+
then, run spark-shell or spark-submit with appropriate <b>--jars
107+
/path/to/spark-nlp_2.11-1.2.5.jar</b> to use the library in spark.
106108
</p>
107109
<p>
108110
For further alternatives and documentation check out our README page in <a href="https://github.com/JohnSnowLabs/spark-nlp">GitHub</a>.

0 commit comments

Comments
 (0)