JohnSnowLabs/spark-nlp-workshop

Wrong reference in output result. spell not found in explain_document_ml.ipynb

alinapetukhova opened this issue · 1 comments

Description

[content['spell'] for content in result]

should be replaced to the:

[content['checked'] for content in result]

or can be related to the wrong version of library in the Docker image

same problem in:
/annotation/english/dictionary-sentiment/sentiment_rb.ipynb

Steps to Reproduce

Run /annotation/english/explain-document-ml/explain_document_ml.ipynb

Your Environment

  • Spark-NLP version: 2.0.4
  • Apache Spark version: 2.4.0
  • Operating System and version: Ubuntu 18.04 and Docker
  • Deployment (Docker, Jupyter, Scala, pip, conda, etc.): Docker + Jupyter
    Screenshot from 2019-06-25 18-17-13

Has been fixed in 2.1.0. The right column's name is checked.