dice-group / gerbil

GERBIL - General Entity annotatoR Benchmark
GNU Affero General Public License v3.0
222 stars 58 forks source link

Error while exeperimenting with agdistis #28

Closed LarsWese closed 9 years ago

LarsWese commented 9 years ago

I get an error after I try to run an Experiment with Agdistis:

2014-11-01 19:04:22,544 ERROR [org.aksw.gerbil.execute.ExperimentTaskExecuter] - <Error while trying to execute experiment.>
java.lang.ClassCastException: org.aksw.gerbil.bat.annotator.ErrorCountingAnnotatorDecorator$ErrorCountingD2W cannot be cast to it.acubelab.batframework.problems.Sa2WSystem
    at org.aksw.gerbil.execute.ExperimentTaskExecuter.runExperiment(ExperimentTaskExecuter.java:144)
    at org.aksw.gerbil.execute.ExperimentTaskExecuter.run(ExperimentTaskExecuter.java:82)
    at java.lang.Thread.run(Thread.java:745)

I selected the sa2w experiment type, agdistis and one of the new corpura (from datahub). When using DBpedia Spotlight, the same experiment type and corpura it worked.

RicardoUsbeck commented 9 years ago

AGDISTIS kann not be used for Scored Annotation to Wikipedia, thus the fix is to fix the dropdown :)

LarsWese commented 9 years ago

Oh ok good to know :)

MichaelRoeder commented 9 years ago

This seems to be a bug inside the communication between frontend and backend. Since AGDISTIS is not able to manage such an experiment, it shouldn't be possible to choose it from the list.

MichaelRoeder commented 9 years ago

The wrong mapping of annotators and experiment types should be fixed by commit https://github.com/AKSW/gerbil/commit/71ba8b9fa86ccc4ffd754726122775af8c92039f