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 659fc2e commit bbf527e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions jupyter/SparkOcrDicomDeIdentification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,18 @@
}
],
"source": [
"\n",
"\n",
"import sparkocr\n",
"from sparkocr.transformers import *\n",
"from sparkocr.utils import display_image\n",
"\n",
"import sparknlp\n",
"import sparknlp_jsl\n",
"from sparknlp.base import *\n",
"from sparknlp.annotator import *\n",
"from sparknlp_jsl.annotator import *\n",
"\n",
"import sparkocr\n",
"from sparkocr.transformers import *\n",
"from sparkocr.utils import display_image\n",
"\n",
"print(f\"Spark NLP version: {sparknlp.version()}\")\n",
"print(f\"Spark NLP internal version: {sparknlp_jsl.version()}\")\n",
"print(f\"Spark OCR version: {sparkocr.version()}\")"
Expand Down

1 comment on commit bbf527e

@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.