JohnSnowLabs/spark-nlp-workshop

sparknlp.eval module not found

rizvisaira opened this issue · 4 comments

ModuleNotFoundError: No module named 'sparknlp.eval'

Description

I have sparknlp set up and I dont have any issues using other modules in sparknlp. Using from sparknlp.eval import * gives me an error.

Steps to Reproduce

  1. pip install sparknlp==2.5.4
  2. from sparknlp.eval import *
    image

The eval module is not in the open source library. https://nlp.johnsnowlabs.com/docs/en/evaluation

@rizvisaira You need to get the license whether paid or trial for that. I suggest contacting the JSL directly https://www.johnsnowlabs.com/.

What you reported here is actually a bug, it is not supposed to be in the public os the import should be different. I asked the members who prepared that notebook to fix it.

This is a licensed module. You can get license from here and please use this:
from sparknlp_jsl.eval import *