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, setup
private static SingletonParserServer instance
private static boolean bound
public static SingletonParserServer getInstance()
private static boolean unbound()
public boolean bind()
IServer
bind
in interface IServer
bind
in class DefaultParserServer
public void unbind()
IServer
unbind
in interface IServer
unbind
in class DefaultParserServer
public void reset()
IServer
reset
in interface IServer
reset
in class DefaultParserServer