Skip to content
Yifan Peng edited this page Jun 23, 2019 · 5 revisions
  1. TypeError: convert_trees() got an unexpected keyword argument 'add_lemmas'

    Please install JPype1. Stanford CoreNLP lemmatizer is only supported for the jpype backend.

  2. jpype fails when using NegBio in flask

    If JPype fails within the Stanford Dependencies python library when wrapped in a flask app, please modify the JPypeBackend.py file to attach the thread to the JVM. Here is the version provided by @staplet3: JPypeBackend.py.zip. Changes start on line 45.

    if not jpype.isThreadAttachedToJVM():
       jpype.attachThreadToJVM()
  3. Are there any plans to make it possible to add additional types to the phrases folder?

    We don't plan to add more types in the near future.

Clone this wiki locally