public class BabelfyConfiguration
extends java.lang.Object
PropertiesConfiguration
hub for the Babelfy API.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_FILE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDebugOutputPath()
Returns the default debug output path
|
static BabelfyConfiguration |
getInstance()
Used to obtain object instance
|
int |
getMaxAmbiguityProperty()
Returns the MAXAMBIGUITY parameter.
|
int |
getMaxLenCharProperty()
Returns the MAXLEN_CHAR parameter.
|
int |
getMaxLenTokenProperty()
Returns the MAXLEN_TOKEN parameter.
|
java.lang.String |
getPathToIndexProperty()
Returns the default path on the disk to the indexes repository.
|
java.lang.String |
getRemoteHost()
Returns the IndexManager remote host.
|
java.lang.String |
getRFkey()
Gets the RestFul key.
|
java.lang.String |
getRFurl()
Gets the RestFul URL.
|
java.lang.String |
getTaggerConfig()
Gets the path to the tagger model
|
void |
setConfigurationFile(java.io.File configurationFile)
Set the file from which to load the new properties
|
void |
setMaxLenCharProperty(int val)
Sets the MAXLEN_CHAR parameter.
|
void |
setMaxLenTokenProperty(int val)
Sets the MAXLEN_TOKEN parameter.
|
void |
setRFkey(java.lang.String key) |
public static BabelfyConfiguration getInstance()
public void setConfigurationFile(java.io.File configurationFile)
configurationFile
- the file under config/ to load the properties frompublic java.lang.String getPathToIndexProperty()
public int getMaxLenCharProperty()
public int getMaxLenTokenProperty()
public void setMaxLenCharProperty(int val)
val
- the new value.public void setMaxLenTokenProperty(int val)
val
- the new value.public int getMaxAmbiguityProperty()
public java.lang.String getTaggerConfig()
public java.lang.String getDebugOutputPath()
public java.lang.String getRemoteHost()
public java.lang.String getRFkey()
public void setRFkey(java.lang.String key)
public java.lang.String getRFurl()