public class BabelNetConfiguration extends Object
PropertiesConfiguration
hub for the BabelNet API.Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_FILE |
Modifier and Type | Method and Description |
---|---|
double |
getBabelEdgeWeightThreshold() |
List<it.uniroma1.lcl.jlt.util.Language> |
getBabelLanguages() |
String |
getBabelNetBaseDir() |
String |
getBabelNetDictIndexDir() |
String |
getBabelNetGlossIndexDir() |
String |
getBabelNetGraphIndexDir() |
String |
getBabelNetImageIndexDir() |
String |
getBabelNetImageRestFulUrl() |
String |
getBabelNetInfoIndexDir() |
String |
getBabelNetKey() |
String |
getBabelNetLexiconIndexDir() |
String |
getBabelNetMappingIndexDir() |
String |
getBabelNetRestFulUrl() |
boolean |
getBabelNetUseRedirectionSenses() |
String |
getBadImageListPath() |
static BabelNetConfiguration |
getInstance()
Used to obtain object instance
|
String |
getPointerListPath() |
String |
getWordNetInfoIndexDir() |
boolean |
isBadImageFilterActive() |
protected boolean |
isServer() |
void |
setBasePath(String baseAbsolutePath) |
void |
setConfigurationFile(File configurationFile)
Set the file from which to load the new properties
|
public static String CONFIG_FILE
public static BabelNetConfiguration getInstance()
BabelNetConfiguration
public void setConfigurationFile(File configurationFile)
configurationFile
- the file under config/ to load the properties frompublic String getBabelNetBaseDir()
public String getBabelNetLexiconIndexDir()
public String getBabelNetDictIndexDir()
public String getBabelNetInfoIndexDir()
public String getWordNetInfoIndexDir()
public String getBabelNetGlossIndexDir()
public String getBabelNetGraphIndexDir()
public String getBabelNetImageIndexDir()
public String getBabelNetMappingIndexDir()
public String getBabelNetKey()
public String getBabelNetRestFulUrl()
public String getBabelNetImageRestFulUrl()
public List<it.uniroma1.lcl.jlt.util.Language> getBabelLanguages()
public double getBabelEdgeWeightThreshold()
public boolean getBabelNetUseRedirectionSenses()
public boolean isBadImageFilterActive()
protected boolean isServer()
public String getBadImageListPath()
public void setBasePath(String baseAbsolutePath)
public String getPointerListPath()
Copyright © 2016. All rights reserved.