if (!expansion) {
heuristicExpansion.add(label);
}
return label;
}
<BUG>public void addNodeToGraph(DirectedSparseGraph<Node, String> graph, HashMap<String, Node> nodes, NamedEntityInText entity, Triple c, String candidateURL) throws IOException {
Node currentNode = new Node(candidateURL, 0, 0);</BUG>
log.debug("CandidateURL: " + candidateURL);
if (!graph.addVertex(currentNode)) {
int st = entity.getStartPos();

if (!expansion) {
heuristicExpansion.add(label);
}
return label;
}
public void addNodeToGraph(DirectedSparseGraph<Node, String> graph, HashMap<String, Node> nodes,
NamedEntityInText entity, Triple c, String candidateURL) throws IOException {
Node currentNode = new Node(candidateURL, 0, 0);
log.debug("CandidateURL: " + candidateURL);
if (!graph.addVertex(currentNode)) {
int st = entity.getStartPos();
