edu.stanford.nlp.ie
Class NERServer.NERClient

java.lang.Object
  extended by edu.stanford.nlp.ie.NERServer.NERClient
Enclosing class:
NERServer

public static class NERServer.NERClient
extends 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(String host, int port, String charset)
           
static void communicateWithNERServer(String host, int port, String charset, BufferedReader input, BufferedWriter output, boolean closeOnBlank)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

communicateWithNERServer

public static void communicateWithNERServer(String host,
                                            int port,
                                            String charset)
                                     throws IOException
Throws:
IOException

communicateWithNERServer

public static void communicateWithNERServer(String host,
                                            int port,
                                            String charset,
                                            BufferedReader input,
                                            BufferedWriter output,
                                            boolean closeOnBlank)
                                     throws IOException
Throws:
IOException


Stanford NLP Group