![]() |
GrammarScope
4.0.0
|
Public Member Functions | |
| ServerCapabilities (final long mask) | |
| long | mask () |
| boolean | test (final long composite) |
| long | toggle (final long composite) |
Static Public Member Functions | |
| static boolean[] | split (final long composite) |
| static long | merge (final ServerCapabilities... capabilities) |
| static int | bits (final long composite) |
| static long | parser () |
| static long | corenlp () |
Public Attributes | |
| NONE =(0) | |
| SEGMENT =(0x1) | |
| PARSE =(0x2) | |
| DEPPARSE =(0x4) | |
| GRAMMATICAL_STRUCTURE =(0x8) | |
| TYPEDDEPENDENCIES =(0x10) | |
| SEMANTICGRAPH =(0x20) | |
| NER =(0x40) | |
| SENTIMENT | |
| ENTAILMENT =(0x100) | |
| TRIPLES =(0x200) | |
| COREFERENCE =(0x400) | |
| MORPHOLOGY =(0x800) | |
Private Attributes | |
| final long | mask |
Enum to designate server capabilities
| grammarscope.server.iface.ServerCapabilities.ServerCapabilities | ( | final long | mask | ) |
Private constructor
| mask | mask used in composite values |
|
static |
Count number of bits set
| composite | composite |
|
static |
Shorthand for Core NLP capabilities
| long grammarscope.server.iface.ServerCapabilities.mask | ( | ) |
Get mask used in composite value
|
static |
Merge capabilities into composite value
| capabilities | capabilities |
|
static |
Shorthand for Stanford Parser capabilities
|
static |
Split composite value
| composite | composite value to break |
| boolean grammarscope.server.iface.ServerCapabilities.test | ( | final long | composite | ) |
Test bit in composite value
| composite | composite value |
| long grammarscope.server.iface.ServerCapabilities.toggle | ( | final long | composite | ) |
Toggle bit in composite value
| composite | composite value |
| grammarscope.server.iface.ServerCapabilities.COREFERENCE =(0x400) |
| grammarscope.server.iface.ServerCapabilities.DEPPARSE =(0x4) |
| grammarscope.server.iface.ServerCapabilities.ENTAILMENT =(0x100) |
| grammarscope.server.iface.ServerCapabilities.GRAMMATICAL_STRUCTURE =(0x8) |
|
private |
Mask used in composite values
| grammarscope.server.iface.ServerCapabilities.MORPHOLOGY =(0x800) |
| grammarscope.server.iface.ServerCapabilities.NER =(0x40) |
| grammarscope.server.iface.ServerCapabilities.NONE =(0) |
| grammarscope.server.iface.ServerCapabilities.PARSE =(0x2) |
| grammarscope.server.iface.ServerCapabilities.SEGMENT =(0x1) |
| grammarscope.server.iface.ServerCapabilities.SEMANTICGRAPH =(0x20) |
| grammarscope.server.iface.ServerCapabilities.SENTIMENT |
| grammarscope.server.iface.ServerCapabilities.TRIPLES =(0x200) |
| grammarscope.server.iface.ServerCapabilities.TYPEDDEPENDENCIES =(0x10) |
1.8.17