Skip to content

Commit abe90f7

Browse files
committed
Update docs and links to examples [skip test]
1 parent 6c710ce commit abe90f7

8 files changed

+109
-107
lines changed

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Spark NLP: State-of-the-Art Natural Language Processing
1+
ks# Spark NLP: State-of-the-Art Natural Language Processing
22

33
<p align="center">
44
<a href="https://github.com/JohnSnowLabs/spark-nlp/actions" alt="build">
@@ -228,8 +228,7 @@ result['entities']
228228
Output: ['Mona Lisa', 'Leonardo', 'Louvre', 'Paris']
229229
```
230230

231-
For more examples, you can visit our dedicated [repository](https://github.com/JohnSnowLabs/spark-nlp-workshop) to
232-
showcase all Spark NLP use cases!
231+
For more examples, you can visit our dedicated [examples](https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples) to showcase all Spark NLP use cases!
233232

234233
## Apache Spark Support
235234

@@ -706,7 +705,7 @@ This script comes with the two options to define `pyspark` and `spark-nlp` versi
706705
!wget https://setup.johnsnowlabs.com/colab.sh -O - | bash /dev/stdin -p 3.2.3 -s 4.3.0
707706
```
708707

709-
[Spark NLP quick start on Google Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp-workshop/blob/master/jupyter/quick_start_google_colab.ipynb)
708+
[Spark NLP quick start on Google Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp/blob/master/examples/python/quick_start_google_colab.ipynb)
710709
is a live demo on Google Colab that performs named entity recognitions and sentiment analysis by using Spark NLP
711710
pretrained pipelines.
712711

@@ -1245,12 +1244,12 @@ PipelineModel.load("/tmp/explain_document_dl_en_2.0.2_2.4_1556530585689/")
12451244
12461245
## Examples
12471246
1248-
Need more **examples**? Check out our dedicated [Spark NLP Showcase](https://github.com/JohnSnowLabs/spark-nlp-workshop)
1247+
Need more **examples**? Check out our dedicated [Spark NLP Examples](https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples)
12491248
repository to showcase all Spark NLP use cases!
12501249
12511250
Also, don't forget to check [Spark NLP in Action](https://nlp.johnsnowlabs.com/demo) built by Streamlit.
12521251

1253-
### All examples: [spark-nlp-workshop](https://github.com/JohnSnowLabs/spark-nlp-workshop)
1252+
### All examples: [spark-nlp/examples](https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples)
12541253

12551254
## FAQ
12561255

docs/Gemfile.lock

+1
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ PLATFORMS
297297
x64-mingw-ucrt
298298
x64-mingw32
299299
x86_64-darwin-21
300+
x86_64-darwin-22
300301
x86_64-linux
301302

302303
DEPENDENCIES

docs/en/examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This script comes with the two options to define `pyspark` and `spark-nlp` versi
3939
!bash colab.sh -p 3.2.3 -s 4.3.0
4040
```
4141

42-
[Spark NLP quick start on Google Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp-workshop/blob/master/jupyter/quick_start_google_colab.ipynb) is a live demo on Google Colab that performs named entity recognitions and sentiment analysis by using Spark NLP pretrained pipelines.
42+
[Spark NLP quick start on Google Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp/blob/master/examples/python/quick_start_google_colab.ipynb) is a live demo on Google Colab that performs named entity recognitions and sentiment analysis by using Spark NLP pretrained pipelines.
4343

4444
## Kaggle Kernel
4545

docs/en/quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ Make sure to check out our demos built by Streamlit to showcase Spark NLP in act
6060

6161
<div class="block-wrapper"><div class="block-box" markdown="1">
6262

63-
## Spark NLP Workshop
63+
## Spark NLP Examples
6464

6565
If you prefer learning by example, check this repository:
6666

6767
{:.btn-block}
68-
[Spark NLP Workshop](https://github.com/JohnSnowLabs/spark-nlp-workshop){:.button.button--primary.button--rounded.button--md}
68+
[Spark NLP Examples](https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples){:.button.button--primary.button--rounded.button--md}
6969

7070
</div><div class="block-box" markdown="1">
7171

docs/en/spark_nlp.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: docs
33
title: Spark NLP
44
permalink: /docs/en/spark-nlp
55
key: docs-spark_nlp
6-
modify_date: "2022-12-21"
6+
modify_date: "2023-02-09"
77
header: true
88
seotitle:
99
show_nav: true
@@ -68,12 +68,12 @@ Make sure to check out our demos built by Streamlit to showcase Spark NLP in act
6868

6969
<div class="block-wrapper"><div class="block-box" markdown="1">
7070

71-
## Spark NLP Workshop
71+
## Spark NLP Examples
7272

7373
If you prefer learning by example, check this repository:
7474

7575
{:.btn-block}
76-
[Spark NLP Workshop](https://github.com/JohnSnowLabs/spark-nlp-workshop){:.button.button--primary.button--rounded.button--md}
76+
[Spark NLP Examples](https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples){:.button.button--primary.button--rounded.button--md}
7777

7878
</div><div class="block-box" markdown="1">
7979

docs/en/transformers.md

+89-86
Large diffs are not rendered by default.

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ data:
386386
url: /demo
387387
- text: Examples
388388
type: trans
389-
url: https://github.com/JohnSnowLabs/spark-nlp-workshop
389+
url: https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples
390390
- text: '<i class="fab fa-slack-hash"></i> Slack'
391391
type: trans
392392
url: https://join.slack.com/t/spark-nlp/shared_invite/zt-198dipu77-L3UWNe_AJ8xqDk0ivmih5Q

python/README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Spark NLP: State-of-the-Art Natural Language Processing
1+
ks# Spark NLP: State-of-the-Art Natural Language Processing
22

33
<p align="center">
44
<a href="https://github.com/JohnSnowLabs/spark-nlp/actions" alt="build">
@@ -228,8 +228,7 @@ result['entities']
228228
Output: ['Mona Lisa', 'Leonardo', 'Louvre', 'Paris']
229229
```
230230

231-
For more examples, you can visit our dedicated [repository](https://github.com/JohnSnowLabs/spark-nlp-workshop) to
232-
showcase all Spark NLP use cases!
231+
For more examples, you can visit our dedicated [examples](https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples) to showcase all Spark NLP use cases!
233232

234233
## Apache Spark Support
235234

@@ -706,7 +705,7 @@ This script comes with the two options to define `pyspark` and `spark-nlp` versi
706705
!wget https://setup.johnsnowlabs.com/colab.sh -O - | bash /dev/stdin -p 3.2.3 -s 4.3.0
707706
```
708707

709-
[Spark NLP quick start on Google Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp-workshop/blob/master/jupyter/quick_start_google_colab.ipynb)
708+
[Spark NLP quick start on Google Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp/blob/master/examples/python/quick_start_google_colab.ipynb)
710709
is a live demo on Google Colab that performs named entity recognitions and sentiment analysis by using Spark NLP
711710
pretrained pipelines.
712711

@@ -1227,8 +1226,8 @@ Example of using pretrained Models and Pipelines in offline:
12271226
# french_pos = PerceptronModel.pretrained("pos_ud_gsd", lang="fr")
12281227
# you download this model, extract it, and use .load
12291228
french_pos = PerceptronModel.load("/tmp/pos_ud_gsd_fr_2.0.2_2.4_1556531457346/")
1230-
.setInputCols("document", "token")
1231-
.setOutputCol("pos")
1229+
.setInputCols("document", "token")
1230+
.setOutputCol("pos")
12321231
12331232
# example for pipelines
12341233
# instead of using PretrainedPipeline
@@ -1245,12 +1244,12 @@ PipelineModel.load("/tmp/explain_document_dl_en_2.0.2_2.4_1556530585689/")
12451244
12461245
## Examples
12471246
1248-
Need more **examples**? Check out our dedicated [Spark NLP Showcase](https://github.com/JohnSnowLabs/spark-nlp-workshop)
1247+
Need more **examples**? Check out our dedicated [Spark NLP Examples](https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples)
12491248
repository to showcase all Spark NLP use cases!
12501249
12511250
Also, don't forget to check [Spark NLP in Action](https://nlp.johnsnowlabs.com/demo) built by Streamlit.
12521251

1253-
### All examples: [spark-nlp-workshop](https://github.com/JohnSnowLabs/spark-nlp-workshop)
1252+
### All examples: [spark-nlp/examples](https://github.com/JohnSnowLabs/spark-nlp/tree/master/examples)
12541253

12551254
## FAQ
12561255

0 commit comments

Comments
 (0)