You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
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:
Cheers,
The text was updated successfully, but these errors were encountered: