edu.stanford.nlp.ie
Class NERServer.NERClient
java.lang.Object
edu.stanford.nlp.ie.NERServer.NERClient
- Enclosing class:
- NERServer
public static class NERServer.NERClient
- extends java.lang.Object
This example sends material to the NER server one line at a time.
Each line should be at least a whole sentence, or can be a whole
document.
Method Summary |
static void |
communicateWithNERServer(java.lang.String host,
int port,
java.lang.String charset)
|
static void |
communicateWithNERServer(java.lang.String host,
int port,
java.lang.String charset,
java.io.BufferedReader input,
java.io.BufferedWriter output,
boolean closeOnBlank)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
communicateWithNERServer
public static void communicateWithNERServer(java.lang.String host,
int port,
java.lang.String charset)
throws java.io.IOException
- Throws:
java.io.IOException
communicateWithNERServer
public static void communicateWithNERServer(java.lang.String host,
int port,
java.lang.String charset,
java.io.BufferedReader input,
java.io.BufferedWriter output,
boolean closeOnBlank)
throws java.io.IOException
- Throws:
java.io.IOException
Stanford NLP Group