Coder Social home page Coder Social logo

Comments (2)

MichaelRoeder avatar MichaelRoeder commented on August 21, 2024

I think there is a small issue in your annotator.properties file. However, it is not your fault. I am afraid we didn't communicate it propertly. 😞

You define the same key with different values. In the end, it can have only one value.

org.aksw.gerbil.annotator.impl.spotlight.SpotlightAnnotator.ServieURL=https://api.dbpedia-spotlight.org/en/
...
org.aksw.gerbil.annotator.impl.spotlight.SpotlightAnnotator.ServieURL=https://api.dbpedia-spotlight.org/es/

Hence, both instances will work with the same URL.

The URL definition above is an "older" way how we used to handle these things. What you should do for your Spanish annotator is the following:

### DBpedia Spotlight ES
org.aksw.gerbil.annotators.definition.spotlightES.name=DBpedia Spotlight ES
org.aksw.gerbil.annotators.definition.spotlightES.experimentType=OKE_Task1
org.aksw.gerbil.annotators.definition.spotlightES.cacheable=true
org.aksw.gerbil.annotators.definition.spotlightES.class=org.aksw.gerbil.annotator.impl.spotlight.SpotlightAnnotator
org.aksw.gerbil.annotators.definition.spotlightES.constructorArgs=https://api.dbpedia-spotlight.org/es/ 

This will ensure that GERBIL uses a different constructor and gives the URL of your spotlight web service directly to the constructor.

Let us know whether that fixes your problem.

from gerbil.

jmdu99 avatar jmdu99 commented on August 21, 2024

It seems that it works now. Thank you very much!

from gerbil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.