![]() |
GrammarScope
4.0.0
|


Public Member Functions | |
| synchronized boolean | bind () |
| void | unbind () |
| Pipeline | getPipeline () |
Public Member Functions inherited from grammarscope.server.corenlp.DefaultCoreNlpServer | |
| DefaultCoreNlpServer () | |
| void | setup (final Properties settings) |
| void | reset () |
| long | getCapabilities () |
| String | getDescription () |
| Options | getOptions () |
| Properties | getDefaultConfig (final Language lang) |
Static Public Member Functions | |
| static synchronized SingletonCoreNlpServer | getInstance () |
Static Public Member Functions inherited from grammarscope.server.corenlp.DefaultCoreNlpServer | |
| static String | makeDescription (final Properties properties, final Pipeline pipeline) |
| static TextAnalysis | processText (final String text) throws IllegalArgumentException |
| static void | main (final String[] args) throws MalformedURLException, IOException |
Private Member Functions | |
| SingletonCoreNlpServer () | |
Static Private Member Functions | |
| static synchronized boolean | unbound () |
Static Private Attributes | |
| static SingletonCoreNlpServer | instance |
| static boolean | bound |
Additional Inherited Members | |
Static Public Attributes inherited from grammarscope.server.corenlp.DefaultCoreNlpServer | |
| static Pipeline | pipeline |
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.corenlp.SingletonCoreNlpServer.bind | ( | ) |
Load all submodules (segmenter, parser, analyzer, ...)
Reimplemented from grammarscope.server.corenlp.DefaultCoreNlpServer.
|
static |
Factory
| Pipeline grammarscope.server.corenlp.SingletonCoreNlpServer.getPipeline | ( | ) |
Get pipeline
| void grammarscope.server.corenlp.SingletonCoreNlpServer.unbind | ( | ) |
Unbind
Reimplemented from grammarscope.server.corenlp.DefaultCoreNlpServer.
|
staticprivate |
Is unbound
|
staticprivate |
Whether single instance is already bound
|
staticprivate |
The single instance
1.8.17