@@ -85,24 +85,26 @@ <h1 class="doc-title"><i class="icon fa fa-paper-plane"></i> SparkNLP - Quick St
85
85
< section id ="concepts-section " class ="doc-section ">
86
86
< h2 class ="section-title "> Requirements</ h2 >
87
87
< 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
91
91
< a href ="http://spark.apache.org/docs/2.1.2/index.html "> documentation</ a > to
92
92
get started with Spark.
93
93
</ 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 >
99
97
</ 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 >
100
102
< 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,
102
104
which can be downloaded
103
105
< 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.
106
108
</ p >
107
109
< p >
108
110
For further alternatives and documentation check out our README page in < a href ="https://github.com/JohnSnowLabs/spark-nlp "> GitHub</ a > .
0 commit comments