You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, this gives me the following stacktrace when calling the annotate method.
106013 [main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Loading FSADictionary...
106349 [main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Done (335 ms)
106546 [main] INFO org.dbpedia.spotlight.annotate.DefaultParagraphAnnotator - Spotting... (FSA dictionary spotter)
Exception in thread "main" java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:313)
at scala.None$.get(Option.scala:311)
at org.dbpedia.spotlight.db.DBSpotter.extract(DBSpotter.scala:48)
at org.dbpedia.spotlight.annotate.DefaultParagraphAnnotator.annotate(DefaultAnnotator.scala:63)
at Test.main(Test.java:35)
The text was updated successfully, but these errors were encountered:
I'm attempting to use the dbpedia spotlight annotators without the REST API client as per: https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Run-from-Java-or-Scala.
The only difference is that I am loading the model.
Here is my simple test program.
For some reason, this gives me the following stacktrace when calling the
annotate
method.The text was updated successfully, but these errors were encountered: