public class ProcessMorphologyRequest extends ProcessProtobufRequest
Constructor and Description |
---|
ProcessMorphologyRequest() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Command line tool for processing a Morphology request.
|
void |
processInputStream(java.io.InputStream in,
java.io.OutputStream out)
Reads a single request from the InputStream, then writes back a single response.
|
CoreNLPProtos.MorphologyResponse |
processRequest(CoreNLPProtos.MorphologyRequest request)
Turn a list of tagged words into a list of tagged words with lemma
|
leftoverArgs, process, processMultipleInputs
public CoreNLPProtos.MorphologyResponse processRequest(CoreNLPProtos.MorphologyRequest request)
public void processInputStream(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
processInputStream
in class ProcessProtobufRequest
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException