Skip to content

Commit 659fc2e

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 Upgrade spark-nlp-jsl to 2.5.5
1 parent 9579927 commit 659fc2e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

jupyter/SparkOcrUpdateTextPosition.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,11 @@
154154
"metadata": {},
155155
"outputs": [],
156156
"source": [
157-
"\n",
157+
"from pyspark.ml import Pipeline\n",
158+
"from sparkocr.transformers import *\n",
158159
"from sparknlp.annotator import *\n",
159160
"from sparknlp.base import *\n",
160-
"from sparkocr.enums import PageSegmentationMode\n",
161-
"from sparkocr.transformers import *\n",
162-
"from pyspark.ml import Pipeline"
161+
"from sparkocr.enums import PageSegmentationMode"
163162
]
164163
},
165164
{

0 commit comments

Comments
 (0)