![]() |
GrammarScope
4.0.0
|
Public Member Functions | |
synchronized boolean | bind () |
void | unbind () |
void | reset () |
![]() | |
DefaultParserServer () | |
void | setup (final Properties properties) |
String | getParserOptions () |
boolean | isValid () |
String | getDescription () |
Options | getOptions () |
ISegmenter | getSegmenter () |
IMorphology | getMorphology () |
IParser | getParser () |
IGrammaticalStructureAnalyzer | getGrammaticalStructureAnalyzer () |
IDependencyParser | getDependencyParser () |
ITypedDependenciesAnalyzer | getTypedDependenciesAnalyzer () |
ISemanticGraphAnalyzer | getSemanticGraphAnalyzer () |
long | getCapabilities () |
List< Token > | makeTokens (final Tree tree) |
TextAnalysis | processText (final String text) throws IllegalArgumentException |
Properties | getDefaultConfig (final Language lang) |
Static Public Member Functions | |
static synchronized SingletonParserServer | getInstance () |
![]() | |
static String | makeDescription (final Properties properties) |
static void | main (final String[] args) |
Private Member Functions | |
SingletonParserServer () | |
Static Private Member Functions | |
static synchronized boolean | unbound () |
Static Private Attributes | |
static SingletonParserServer | instance |
static boolean | bound |
Singleton server. Every client will bind to server. That doesn't mean we need a server instance for each client.
|
private |
Private constructor
synchronized boolean grammarscope.server.parser.SingletonParserServer.bind | ( | ) |
Load all submodules (segmenter, parser, analyzer, ...)
Reimplemented from grammarscope.server.parser.DefaultParserServer.
|
static |
Factory
void grammarscope.server.parser.SingletonParserServer.reset | ( | ) |
Reset
Reimplemented from grammarscope.server.parser.DefaultParserServer.
void grammarscope.server.parser.SingletonParserServer.unbind | ( | ) |
Unbind
Reimplemented from grammarscope.server.parser.DefaultParserServer.
|
staticprivate |
Is unbound
|
staticprivate |
Whether single instance is already bound
|
staticprivate |
The single instance