u-alberta / wned Goto Github PK
View Code? Open in Web Editor NEWA sytem for Named Entity Disambiguation based on Random Walks and Learning to Rank.
Home Page: https://sites.ualberta.ca/~denilson/walking-ned.html
A sytem for Named Entity Disambiguation based on Random Walks and Learning to Rank.
Home Page: https://sites.ualberta.ca/~denilson/walking-ned.html
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,
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,
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,
The POM file is missing Maven archives for fastutils and slf4j which stops the project from building with the mvn package
command
Hi could you please provide an alternative link to the prior-bucketed datasets (or when they'll be back up)?
The link at http://dx.doi.org/10.7939/DVN/10968 is down.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.