From: <lor...@us...> - 2011-09-13 09:54:25
|
Revision: 3251 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3251&view=rev Author: lorenz_b Date: 2011-09-13 09:54:19 +0000 (Tue, 13 Sep 2011) Log Message: ----------- Small update. Modified Paths: -------------- trunk/interfaces/src/main/java/org/dllearner/cli/Enrichment.java Modified: trunk/interfaces/src/main/java/org/dllearner/cli/Enrichment.java =================================================================== --- trunk/interfaces/src/main/java/org/dllearner/cli/Enrichment.java 2011-09-13 09:52:14 UTC (rev 3250) +++ trunk/interfaces/src/main/java/org/dllearner/cli/Enrichment.java 2011-09-13 09:54:19 UTC (rev 3251) @@ -106,6 +106,7 @@ import org.dllearner.utilities.CommonPrefixMap; import org.dllearner.utilities.EnrichmentVocabulary; import org.dllearner.utilities.Helper; +import org.dllearner.utilities.PrefixCCMap; import org.dllearner.utilities.datastructures.Datastructures; import org.dllearner.utilities.datastructures.SetManipulation; import org.dllearner.utilities.datastructures.SortedSetTuple; @@ -201,7 +202,7 @@ // list of generated axioms while script is running private List<AlgorithmRun> algorithmRuns; - private CommonPrefixMap prefixes = new CommonPrefixMap(); +// private CommonPrefixMap prefixes = new CommonPrefixMap(); // cache for SparqKnowledgeSource SparqlKnowledgeSource ksCached; @@ -479,7 +480,7 @@ String accs = df.format(acc); if(accs.length()==3) { accs = " " + accs; } if(accs.length()==4) { accs = " " + accs; } - String str = accs + "%\t" + axiom.getAxiom().toManchesterSyntaxString(null, prefixes); + String str = accs + "%\t" + axiom.getAxiom().toManchesterSyntaxString(null, PrefixCCMap.getInstance()); return str; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |