Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ner2json
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
ner2json
Commits
e2f02328
Commit
e2f02328
authored
Dec 16, 2020
by
Tomasz Walkowiak
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Update ner2sim.py (spelling in weights)"
This reverts commit
44e4c57e
parent
44e4c57e
Branches
revert-44e4c57e
Branches containing commit
No related tags found
1 merge request
!2
Revert "Update ner2sim.py (spelling in weights)"
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ner2sim.py
+1
-1
1 addition, 1 deletion
src/ner2sim.py
with
1 addition
and
1 deletion
src/ner2sim.py
+
1
−
1
View file @
e2f02328
...
@@ -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
,
W
eight
=
weight
)
dg
.
add_edge
(
node1
,
node2
,
w
ei
t
ght
=
weight
)
nx
.
write_gexf
(
dg
,
out
)
nx
.
write_gexf
(
dg
,
out
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment