Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
50a051c2
Commit
50a051c2
authored
Sep 10, 2019
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Semantic Linking: larger dataset
parent
40e38102
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24196 additions
and
517 deletions
+24196
-517
HyperGraph.py
...mantic-linking-microservice/app/initialdemo/HyperGraph.py
+1
-1
SemanticLinking.py
...c-linking-microservice/app/initialdemo/SemanticLinking.py
+1
-0
mult_in_out.json
...tic-linking-microservice/app/initialdemo/mult_in_out.json
+0
-516
mult_in_out_large.json
...nking-microservice/app/initialdemo/mult_in_out_large.json
+24194
-0
No files found.
data-hub/semantic-linking-microservice/app/initialdemo/HyperGraph.py
View file @
50a051c2
...
@@ -9,7 +9,7 @@ labalvlues = []
...
@@ -9,7 +9,7 @@ labalvlues = []
def
classify
():
def
classify
():
with
open
(
"mult_in_out.json"
,
"r"
)
as
json_file
:
with
open
(
"mult_in_out
_large
.json"
,
"r"
)
as
json_file
:
df_nodes
=
json
.
load
(
json_file
)
df_nodes
=
json
.
load
(
json_file
)
...
...
data-hub/semantic-linking-microservice/app/initialdemo/SemanticLinking.py
View file @
50a051c2
...
@@ -132,6 +132,7 @@ class SemanticLinking:
...
@@ -132,6 +132,7 @@ class SemanticLinking:
self
.
_update_label
(
n
,
labeling
,
self
.
G
)
self
.
_update_label
(
n
,
labeling
,
self
.
G
)
for
label
in
set
(
labeling
.
values
()):
for
label
in
set
(
labeling
.
values
()):
print
(
"lable value: "
,
labeling
.
values
())
print
(
"lable value: "
,
labeling
.
values
())
self
.
labeling
=
labeling
def
findigneighbors
(
self
):
def
findigneighbors
(
self
):
...
...
data-hub/semantic-linking-microservice/app/initialdemo/mult_in_out.json
View file @
50a051c2
This diff is collapsed.
Click to expand it.
data-hub/semantic-linking-microservice/app/initialdemo/mult_in_out_large.json
0 → 100644
View file @
50a051c2
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment