Git Product home page Git Product logo

wned's People

Contributors

dependabot[bot] avatar dmbarbosa avatar guozhaochen avatar zhaochenguo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wned's Issues

a2e index generation instruction lacks sort and aggregation

Hi,
I found that the following command (See README) doesn't generate frequency column:

$ java -cp $CP ca.ualberta.entitylinking.kb.KBExtractor redirect aliasOut.txt redirectOut.txt

and the entity estimation process requires the frequency column (c.f., https://github.com/U-Alberta/wned/blob/master/src/ca/ualberta/entitylinking/cs/CandidateSelectionLucene.java#L177-L178).
So, the instruction must add sort and aggregation process for alias data.

Cheers,

it.unimi.dsi.Util.getLogger was removed and unable to call

Hi,

I found that ca.ualberta.entitylinking.graph.DirectedGraph depends on es.yrbcn.graph.weighted.WeightedBVGraph and WeightedBVGraph has trouble with initializing a logger:

$ java -cp $CP ca.ualberta.entitylinking.graph.DirectedGraph el.config tmp/pageLinkGraph.aggregated 
Exception in thread "main" java.lang.NoSuchMethodError: it.unimi.dsi.Util.getLogger(Ljava/lang/Class;)Lorg/apache/log4j/Logger;
	at es.yrbcn.graph.weighted.WeightedBVGraph.<clinit>(WeightedBVGraph.java:71)
	at ca.ualberta.entitylinking.graph.WeightedGraph.writeGraph(WeightedGraph.java:62)
	at ca.ualberta.entitylinking.graph.DirectedGraph.storeGraph(DirectedGraph.java:92)
	at ca.ualberta.entitylinking.graph.DirectedGraph.main(DirectedGraph.java:243)

Cheers,

graph.UndirectedGragh causes error when it faces self link

I found that aggregate.py comments out a function which removes self-linked items and it will trigger java.lang.ArrayIndexOutOfBoundsException when graph.UndirectedGraph loads the resulting file. See the followings.

testfile.txt:

a       a       1
$ java -Xmx24g -cp $CP ca.ualberta.entitylinking.graph.UndirectedGraph el.config testfile.txt
...
java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 32
	at it.unimi.dsi.webgraph.BVGraph.updateBins(BVGraph.java:1738)
	at it.unimi.dsi.webgraph.BVGraph.storeInternal(BVGraph.java:1844)
	at it.unimi.dsi.webgraph.BVGraph.store(BVGraph.java:1687)
	at it.unimi.dsi.webgraph.BVGraph.store(BVGraph.java:1715)
	at it.unimi.dsi.webgraph.BVGraph.store(BVGraph.java:1727)
	at ca.ualberta.entitylinking.graph.WeightedGraph.writeGraph(WeightedGraph.java:66)
	at ca.ualberta.entitylinking.graph.UndirectedGraph.storeGraph(UndirectedGraph.java:87)
	at ca.ualberta.entitylinking.graph.UndirectedGraph.main(UndirectedGraph.java:204)

Cheers,

POM Missing Dependencies

The POM file is missing Maven archives for fastutils and slf4j which stops the project from building with the mvn package command

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.