Commit 50a051c2 authored by Alexander Lercher's avatar Alexander Lercher

Semantic Linking: larger dataset

parent 40e38102
...@@ -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)
......
...@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment