Skip to content

Commit

Permalink
GH140_Configure_auto_build_spark
Browse files Browse the repository at this point in the history
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

Upgrade spark-nlp-jsl to 2.5.5
  • Loading branch information
546075910 committed Aug 10, 2020
1 parent cc13c80 commit 9579927
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jupyter/SparkOcrPositionFinder.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"outputs": [],
"source": [
"# install from PYPI using secret\n",
"%pip install spark-nlp==2.4.3\n",
"%pip install spark-nlp==2.5.5\n",
"%pip install spark-ocr==$version --user --extra-index-url=https://pypi.johnsnowlabs.com/$secret --upgrade"
]
},
Expand Down Expand Up @@ -145,7 +145,7 @@
"if license:\n",
" os.environ['JSL_OCR_LICENSE'] = license\n",
"\n",
"spark = start(secret=secret, jar_path=spark_ocr_jar_path, nlp_version=\"2.4.3\")\n",
"spark = start(secret=secret, jar_path=spark_ocr_jar_path, nlp_version=\"2.5.5\")\n",
"spark"
]
},
Expand Down Expand Up @@ -417,4 +417,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

1 comment on commit 9579927

@review-notebook-app
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Jupyter notebook diffs for this commit on  ReviewNB

You can open a pull request to discuss changes and offer feedback.


Powered by ReviewNB

Please sign in to comment.