TypeError: 'JavaPackage' object is not callable · Issue #5991 ...
github.com › JohnSnowLabs › spark-nlpAug 26, 2021 · The TypeError: 'JavaPackage' object is not callable error is always regarding the actual Spark NLP core (Maven or JAR via spark.jars.packages or spark.jars) missing in the current SparkSession. By missing, it doesn't mean the user hasn't used it via a custom SparkSession.builder or sparknlp.start() function, it's always about SparkSession already exists and what the user has used was ignored due to .getOrCreate .