GithubHelp home page GithubHelp logo

neeleval's Introduction

neeleval

#Microposts2014 NEEL Challenge Evaluation Framework

Prerequisites
  • Java v1.6+
  • Maven v3+
Evaluate: compute F1, R, P figures

java -cp neeleval.jar neeleval.Evaluate GS TS

where:

  • GS (Gold Standard) tab separated file. Each line should contain i) tweetid, entityMention1, entityURI1, ... , entityMentionN, entityURIN
  • TS (Test Set) tab separated file. Each line should contain i) tweetid, entityMention1, entityURI1, ... , entityMentionN, entityURIN

outputs:

  • precision, recall, and F1
EvaluateRank @x : compute F1, R, P figures

java -cp neeleval.jar neeleval.EvaluateRank GS TS x

where:

  • GS (Gold Standard) tab separated file. Each line should contain i) tweetid, entityMention1, entityURI1, ... , entityMentionN, entityURIN
  • TS (Test Set) tab separated file. Each line should contain i) tweetid, entityMention1, entityURI1;entityURI2, ... , entityMentionN, entityURIN;entityURIN+1
  • x (cut-off of the rank) integer from 1 ... n

outputs:

  • precision@x, recall@x, and F1@x
Redirect: resolve redirects

java -cp neeleval.jar neeleval.ResolveRedirect TS /path/where/to/save/TS/with/redirects

where:

  • TS (Test Set) tab separated file. Each line should contain i) tweetid, entityMention1, entityURI1, ... , entityMentionN, entityURIN
  • TS (Test Set) which contains all redirects (where needed)

neeleval's People

Contributors

armisael avatar giusepperizzo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

neeleval's Issues

Tests failing

It looks like the tests are expecting precision and recall values between 0 and 1, when the Main.java actually returns percentages.

Removing "100 *" from Main.java and Evaluate.java fixes this issue.

---SOLVED--- Exception in URI with double quotes

---SOLVED---
Got this exception

java.net.URISyntaxException: Illegal character in path at index 35: http://dbpedia.org/resource/Olivia_"Bong"_Coo

at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.checkChars(URI.java:2982)
at java.net.URI$Parser.parseHierarchical(URI.java:3066)
at java.net.URI$Parser.parse(URI.java:3014)
at java.net.URI.<init>(URI.java:578)
at neeleval.Pair.<init>(Pair.java:19)
at neeleval.Main.readSet(Main.java:33)
at neeleval.Main.main(Main.java:95)

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.