From 5bcd2c64fe966e644effe70d4efbe0a8e62d138c Mon Sep 17 00:00:00 2001 From: Saif Addin Date: Mon, 8 Jan 2018 19:07:34 -0300 Subject: [PATCH] Small update to quick start instructions --- docs/quickstart.html | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/quickstart.html b/docs/quickstart.html index e2cc94004c9c56..b6ee9a92426abb 100644 --- a/docs/quickstart.html +++ b/docs/quickstart.html @@ -85,24 +85,26 @@

SparkNLP - Quick St

Requirements

-

Since SparkNLP runs on top of Apache Spark 2.1.2, - it is needed to have basic knowledge and a working environment. - Refer to its +

SparkNLP runs on top of Apache Spark 2.1.2, + it is advised to have basic knowledge of the framework and a working environment + before using Spark-NLP. Refer to its documentation to get started with Spark.

-

- To use the most recent version just add the --packages JohnSnowLabs:spark-nlp:1.2.5 to you spark command -

spark-shell --packages JohnSnowLabs:spark-nlp:1.2.5
-
pyspark --packages JohnSnowLabs:spark-nlp:1.2.5
-
spark-submit --packages JohnSnowLabs:spark-nlp:1.2.5
+ To start using the library, execute any of the following lines + depending on your desired use case: +

+
spark-shell --packages JohnSnowLabs:spark-nlp:1.2.5
+pyspark --packages JohnSnowLabs:spark-nlp:1.2.5
+spark-submit --packages JohnSnowLabs:spark-nlp:1.2.5
+

- Another way is including downloadable snapshot jar in spark classpath, + Another way to use the library is by appending jar file into spark classpath, which can be downloaded here - then, run spark-shell or spark-submit with --jars - /path/to/spark-nlp.jar to use the library in scala spark. + then, run spark-shell or spark-submit with appropriate --jars + /path/to/spark-nlp_2.11-1.2.5.jar to use the library in spark.

For further alternatives and documentation check out our README page in GitHub.