Skip to content
Snippets Groups Projects
Commit 56584cd0 authored by anirudhash's avatar anirudhash
Browse files

Slight modification

parent de83395b
No related branches found
No related tags found
No related merge requests found
......@@ -55,13 +55,13 @@ public class Main {
//Check if training data contains the test fact IDs
if(trainingData.containsKey(id.get(i))){
actualValue = trainingData.get(id.get(i));
System.out.println("------------The facts already in are---------------"+id.get(i));
}
else
{
actualValue = at.getAnnotations(statement.get(i));
System.out.println("---The predicted value----" + actualValue);
}
System.out.println("---The actual value----" + actualValue);
if (Objects.equals(actualValue, "true")) {
logs.write("<http://swc2017.aksw.org/task2/dataset/" + id.get(i) + "><http://swc2017.aksw.org/hasTruthValue>\"1.0\"^^<http://www.w3.org/2001/XMLSchema#double> ." + "\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment