JohnSnowLabs/spark-nlp-workshop

Cannot import com.johnsnowlabs.nlp.annotators.ner.NerConverterInternal;

helong20180725 opened this issue · 4 comments

Description

I tried to run the java code NerConverterInternalFiltererExample. But I couldn't import the com.johnsnowlabs.nlp.annotators.ner.NerConverterInternal and create NerConverterInternal instance.

Steps to Reproduce

Your Environment

  • Spark-NLP version: 3.1.2
  • Apache Spark version: 3.1.2
  • Operating System and version:
  • Deployment (Docker, Jupyter, Scala, pip, conda, etc.): Azure Databricks Spark Job.

The examples under Healthcare require licensed JAR also to have access to those annotators.

Yes this is the reason that are under Healthcare

lival commented

I also can't import com.johnsnowlabs.nlp.annotators.assertion.dl.AssertionDLModel and import com.johnsnowlabs.nlp.annotators.chunker.AssertionFilterer when running examples under Healthcare. How can I obtain a license it if I want to run examples in https://github.com/JohnSnowLabs/spark-nlp-workshop/tree/master/scala/healthcare ? Thanks. @xusliebana

@lival you can get a trial license from here : https://www.johnsnowlabs.com/install/