public class SingletonParserServer extends DefaultParserServer
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
bound
Whether single instance is already bound
|
private static SingletonParserServer |
instance
The single instance
|
| Modifier | Constructor and Description |
|---|---|
private |
SingletonParserServer()
Private constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
bind()
Load all submodules (segmenter, parser, analyzer, ...)
|
static SingletonParserServer |
getInstance()
Factory
|
void |
reset()
Reset
|
void |
unbind()
Unbind
|
private static boolean |
unbound()
Is unbound
|
getCapabilities, getDefaultConfig, getDependencyParser, getDescription, getGrammaticalStructureAnalyzer, getMorphology, getOptions, getParser, getParserOptions, getSegmenter, getSemanticGraphAnalyzer, getTypedDependenciesAnalyzer, isValid, main, makeDescription, makeTokens, processText, setupprivate static SingletonParserServer instance
private static boolean bound
public static SingletonParserServer getInstance()
private static boolean unbound()
public boolean bind()
IServerbind in interface IServerbind in class DefaultParserServerpublic void unbind()
IServerunbind in interface IServerunbind in class DefaultParserServerpublic void reset()
IServerreset in interface IServerreset in class DefaultParserServer