Skip to content

Commit 1a566f7

Browse files
author
546075910
committed
GH140_Configure_auto_build_spark
Adapt Notebook to use spark-nlp compatabile with spark23 Spark NLP Apache Spark 2.3.x Apache Spark 2.4.x 2.5.5 YES YES
1 parent 3ff1f15 commit 1a566f7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

jupyter/SparkOcrDicomDeIdentification.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"source": [
8181
"# install from PYPI using secret\n",
8282
"%pip install --upgrade spark-nlp-jsl==2.5.3 --extra-index-url https://pypi.johnsnowlabs.com/$nlp_secret\n",
83-
"%pip install spark-nlp==2.5.3\n",
83+
"%pip install spark-nlp==2.5.5\n",
8484
"%pip install spark-ocr==$version --user --extra-index-url=https://pypi.johnsnowlabs.com/$secret --upgrade"
8585
]
8686
},
@@ -175,7 +175,7 @@
175175
"spark = start(secret=secret,\n",
176176
" nlp_secret=nlp_secret,\n",
177177
" jar_path=spark_ocr_jar_path,\n",
178-
" nlp_version=\"2.5.0\",\n",
178+
" nlp_version=\"2.5.5\",\n",
179179
" nlp_internal=True)\n",
180180
"\n",
181181
"spark"
@@ -2225,4 +2225,4 @@
22252225
},
22262226
"nbformat": 4,
22272227
"nbformat_minor": 2
2228-
}
2228+
}

jupyter/SparkOcrUpdateTextPosition.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"outputs": [],
7171
"source": [
7272
"# install from PYPI using secret\n",
73-
"%pip install spark-nlp==2.4.5\n",
73+
"%pip install spark-nlp==2.5.5\n",
7474
"%pip install spark-ocr==$version --user --extra-index-url=https://pypi.johnsnowlabs.com/$secret --upgrade"
7575
]
7676
},
@@ -144,7 +144,7 @@
144144
"if license:\n",
145145
" os.environ['JSL_OCR_LICENSE'] = license\n",
146146
"\n",
147-
"spark = start(secret=secret, jar_path=spark_ocr_jar_path, nlp_version=\"2.4.5\")\n",
147+
"spark = start(secret=secret, jar_path=spark_ocr_jar_path, nlp_version=\"2.5.5\")\n",
148148
"spark"
149149
]
150150
},
@@ -346,4 +346,4 @@
346346
},
347347
"nbformat": 4,
348348
"nbformat_minor": 2
349-
}
349+
}

0 commit comments

Comments
 (0)