Aus_10
Aus_10

Reputation: 770

How to add external jar to Scala in Jupyter kernel

I would like to add the jar files from Stanford's CoreNLP into my Scala project. The part I'm struggling with in doing this in the context of a Scala kernel for Jupyter notebooks.

I'm using the Apachee Toree distribution for the kernel. There may be a simple one line command within-cell, but I can't find it.

Any help would be appreciated!

Upvotes: 4

Views: 2695

Answers (1)

Leo C
Leo C

Reputation: 22439

Not sure this applies to Stanford CoreNLP, but in a past project that involves evaluation of using IBM DSX on Jupytor Notebook, I read this article by Dustin V which consists of steps for adding jars. My guess is that the within-cell command you're seeking might be something similar to the following:

%AddJar http://nlp.stanford.edu/software/stanford-corenlp-models-current.jar -f

Upvotes: 1

Related Questions