Class SemanticFactory
- java.lang.Object
-
- org.aksw.limes.core.measures.measure.semantic.edgecounting.factory.SemanticFactory
-
public class SemanticFactory extends Object
Implements the semantic measure factory class. For each semantic measure name, the factory returns an object of the corresponding semantic measure.- Version:
- 1.0
- Author:
- Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description SemanticFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AEdgeCountingSemanticMeasurecreateMeasure(SemanticType measure, AIndex Indexer)Factory function for retrieving the desired semantic measure instance.static SemanticTypegetMeasureType(String measure)Factory function for retrieving a semantic measure name from the set of allowed types.
-
-
-
Field Detail
-
SHORTEST_PATH
public static final String SHORTEST_PATH
- See Also:
- Constant Field Values
-
LCH
public static final String LCH
- See Also:
- Constant Field Values
-
LI
public static final String LI
- See Also:
- Constant Field Values
-
WUPALMER
public static final String WUPALMER
- See Also:
- Constant Field Values
-
-
Method Detail
-
createMeasure
public static AEdgeCountingSemanticMeasure createMeasure(SemanticType measure, AIndex Indexer)
Factory function for retrieving the desired semantic measure instance.- Parameters:
measure- , Type of the measureIndexer- , an index instance- Returns:
- a specific measure instance
-
getMeasureType
public static SemanticType getMeasureType(String measure)
Factory function for retrieving a semantic measure name from the set of allowed types.- Parameters:
measure- , The name/type of the measure.- Returns:
- a specific semantic measure type
-
-