Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 81c42f4c authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- fixed demonstration for Summer school

parent 003d1d46
No related branches found
No related tags found
No related merge requests found
...@@ -106,13 +106,12 @@ public class MyApp { ...@@ -106,13 +106,12 @@ public class MyApp {
best = ((PRecEvaluator)evaluator).getFmeasure(); best = ((PRecEvaluator)evaluator).getFmeasure();
} }
} }
// Displays it as SWRL Rules // Displays it as SWRL Rules
PrintWriter writer = new PrintWriter ( PrintWriter writer = new PrintWriter (
new BufferedWriter( new BufferedWriter(
new OutputStreamWriter( System.out, "UTF-8" )), true); new OutputStreamWriter( System.out, "UTF-8" )), true);
AlignmentVisitor renderer = new SWRLRendererVisitor(writer); AlignmentVisitor renderer = new SWRLRendererVisitor(writer);
result.render(renderer); a1.render(renderer);
writer.flush(); writer.flush();
writer.close(); writer.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment