![]() |
GrammarScope
4.0.0
|


Public Member Functions | |
| DefaultCoreNlpServer () | |
| void | setup (final Properties settings) |
| void | reset () |
| boolean | bind () |
| void | unbind () |
| long | getCapabilities () |
| String | getDescription () |
| Options | getOptions () |
| Properties | getDefaultConfig (final Language lang) |
Static Public Member Functions | |
| 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 |
Static Public Attributes | |
| static Pipeline | pipeline |
Private Attributes | |
| Properties | settings |
Static Private Attributes | |
| static int | instantiationCount |
Default pipeline server. Every binding attempt will result in an instantiation.
| grammarscope.server.corenlp.DefaultCoreNlpServer.DefaultCoreNlpServer | ( | ) |
Constructor
| boolean grammarscope.server.corenlp.DefaultCoreNlpServer.bind | ( | ) |
Load all submodules (segmenter, parser, analyzer, ...)
Implements grammarscope.server.iface.IServer.
Reimplemented in grammarscope.server.corenlp.SingletonCoreNlpServer.
| long grammarscope.server.corenlp.DefaultCoreNlpServer.getCapabilities | ( | ) |
| Properties grammarscope.server.corenlp.DefaultCoreNlpServer.getDefaultConfig | ( | final Language | lang | ) |
| String grammarscope.server.corenlp.DefaultCoreNlpServer.getDescription | ( | ) |
| Options grammarscope.server.corenlp.DefaultCoreNlpServer.getOptions | ( | ) |
|
static |
Main
| args | files |
| IOException | exception |
| MalformedURLException | exception |
|
static |
Description
|
static |
Process text
| text | text |
| IllegalArgumentException | exception |
| void grammarscope.server.corenlp.DefaultCoreNlpServer.reset | ( | ) |
Reset
Implements grammarscope.server.iface.IServer.
| void grammarscope.server.corenlp.DefaultCoreNlpServer.setup | ( | final Properties | settings | ) |
| void grammarscope.server.corenlp.DefaultCoreNlpServer.unbind | ( | ) |
Unbind
Implements grammarscope.server.iface.IServer.
Reimplemented in grammarscope.server.corenlp.SingletonCoreNlpServer.
|
staticprivate |
Instantiation count
|
private |
Settings
1.8.17