Mentions légales du service

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

- updated for version 3.3: suppressed OntologyCache

parent 791886d6
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id$ * $Id$
* *
* Copyright (C) 2006-2007, INRIA Rhne-Alpes * Copyright (C) 2006-2008, INRIA Rhne-Alpes
* *
* Modifications to the initial code base are copyright of their * Modifications to the initial code base are copyright of their
* respective authors, or their employers as appropriate. Authorship * respective authors, or their employers as appropriate. Authorship
...@@ -33,7 +33,6 @@ import org.semanticweb.owl.align.Parameters; ...@@ -33,7 +33,6 @@ import org.semanticweb.owl.align.Parameters;
// Alignment API implementation classes // Alignment API implementation classes
import fr.inrialpes.exmo.align.impl.BasicAlignment; import fr.inrialpes.exmo.align.impl.BasicAlignment;
import fr.inrialpes.exmo.align.impl.BasicParameters; import fr.inrialpes.exmo.align.impl.BasicParameters;
import fr.inrialpes.exmo.align.impl.OntologyCache;
import fr.inrialpes.exmo.align.impl.method.StringDistAlignment; import fr.inrialpes.exmo.align.impl.method.StringDistAlignment;
import fr.inrialpes.exmo.align.impl.renderer.RDFRendererVisitor; import fr.inrialpes.exmo.align.impl.renderer.RDFRendererVisitor;
...@@ -55,16 +54,12 @@ import java.net.URI; ...@@ -55,16 +54,12 @@ import java.net.URI;
public class Skeleton { public class Skeleton {
static OntologyCache loaded = null;
public static void main( String[] args ) { public static void main( String[] args ) {
URI onto1 = null; URI onto1 = null;
URI onto2 = null; URI onto2 = null;
Parameters params = new BasicParameters(); Parameters params = new BasicParameters();
try { try {
loaded = new OntologyCache();
// Loading ontologies // Loading ontologies
if (args.length >= 2) { if (args.length >= 2) {
onto1 = new URI( args[0] ); onto1 = new URI( args[0] );
...@@ -76,7 +71,7 @@ public class Skeleton { ...@@ -76,7 +71,7 @@ public class Skeleton {
// Aligning // Aligning
AlignmentProcess a1 = new StringDistAlignment(); AlignmentProcess a1 = new StringDistAlignment();
a1.init ( onto1, onto2, loaded ); a1.init ( onto1, onto2 );
a1.align( (Alignment)null, params ); a1.align( (Alignment)null, params );
// Outputing // Outputing
......
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