I am trying to run spark-nlp as azure function.
I have a function app which is run with a docker container. My function app code is run on python and I also install java as I run pyspark within it. I use python's flask within one function to handle…
I am using the SentimentDetector annotator on dataframe df which has a column text but I keep getting the following error
java.lang.IllegalArgumentException: requirement failed: Wrong or missing inputCols annotators in…
Here is the case. I want to run SparkNLP on Jupyterlab with Scala kernel. I want to use the RegexMatcher annotation. I saved the pattern in a file named patterns.txt on s3 bucket. And I tried the implementation below
import…
I am a beginner to spark-nlp and i am learning it by following examples in the johnsnowlabs.
I am using SCALA in data bricks.
When i follow the example as follows,
import com.johnsnowlabs.nlp.base._
import com.johnsnowlabs.nlp.annotator._
import…
As i am beginner to spark NLP, I started to do some hands on exercises using the functions which are displayed in the johnsnowlabs
I am using SCALA from data bricks and i got a large text file from https://www.gutenberg.org/
So first I import…
I installed a pycharm application and did configure interpreter. After i installed spark-nlp package via pip inside pycharm, and tried to run programm, it showed that it missing dependecy in form of pyspark package. When I installed pyspark it…
I'm trying to do an
import sparknlp
on the Databricks platform and I'm getting a similar message to the one reported at After installing sparknlp, cannot import sparknlp
I can't figure out how to get the python wrapper installed... I can access…
I am trying to replicate :
https://github.com/JohnSnowLabs/spark-nlp/blob/master/examples/python/transformers/HuggingFace%20in%20Spark%20NLP%20-%20BertForZeroShotClassification.ipynb
while doing this I am getting an error in command 12.
it keeps…
I'm working on a project using spark-nlp and I believe I've somehow set up something incorrectly as I can only get it to successfully run my python file when I use sudo python main.py, this is also preventing me from using my IDE for jupyter…