public class SemanticFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LCH |
static String |
LI |
static String |
SHORTEST_PATH |
static String |
WUPALMER |
| Constructor and Description |
|---|
SemanticFactory() |
| Modifier and Type | Method and Description |
|---|---|
static AEdgeCountingSemanticMeasure |
createMeasure(SemanticType measure,
AIndex Indexer)
Factory function for retrieving the desired semantic measure instance.
|
static SemanticType |
getMeasureType(String measure)
Factory function for retrieving a semantic measure name from the set of
allowed types.
|
public static final String SHORTEST_PATH
public static final String LCH
public static final String LI
public static final String WUPALMER
public static AEdgeCountingSemanticMeasure createMeasure(SemanticType measure, AIndex Indexer)
measure, - Type of the measureIndexer, - an index instancepublic static SemanticType getMeasureType(String measure)
measure, - The name/type of the measure.Copyright © 2020. All rights reserved.