Skip to content
Snippets Groups Projects
Commit e2f02328 authored by Tomasz Walkowiak's avatar Tomasz Walkowiak
Browse files

Revert "Update ner2sim.py (spelling in weights)"

This reverts commit 44e4c57e
parent 44e4c57e
Branches revert-44e4c57e
No related tags found
1 merge request!2Revert "Update ner2sim.py (spelling in weights)"
...@@ -170,7 +170,7 @@ class FindRelations: ...@@ -170,7 +170,7 @@ class FindRelations:
if not rawlabels is None and node1 in rawlabels: if not rawlabels is None and node1 in rawlabels:
for node2,weight in dict.items(): for node2,weight in dict.items():
if not rawlabels is None and node2 in rawlabels: if not rawlabels is None and node2 in rawlabels:
dg.add_edge(node1,node2,Weight=weight) dg.add_edge(node1,node2,weitght=weight)
nx.write_gexf(dg, out) nx.write_gexf(dg, out)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment