Mentions légales du service

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

- added cache activation of JWNLDistance

parent 6126ba35
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,10 @@ public class JWNLAlignment extends DistanceAlignment implements AlignmentProcess
}
sim.init( prop.getProperty("wndict"), wnvers, method );
sim.initialize( ontology1(), ontology2(), alignment );
// Prepare the cache
sim.Dist.initPreCache();
sim.compute( prop );
sim.Dist.cleanPreCache();
prop.setProperty( "algName", getClass()+"/"+function );
if ( prop.getProperty("printMatrix") != null ) printDistanceMatrix( prop );
extract( type, prop );
......
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