title: Preventing Stanford Core NLP Server from outputting the text it receives
body: <p>I am running a <a href="http://stanfordnlp.github.io/CoreNLP/" rel="nofollow">Stanford CoreNLP</a> server:</p>
  
  <pre><code>java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9001 -timeout 50000
  </code></pre>
  
  <p>Whenever it receives some text, it outputs it in the shell it is running it. How to prevent this from happening?</p>
  
  <hr>
  
  <p>It that matters, here is the code I use to pass data to Stanford Core NLP Server:</p>
  
  <pre><code>'''
  From https://github.com/smilli/py-corenlp/blob/master/example.py
  '''
  from pycorenlp import StanfordCoreNLP
  import pprint
  
  if __name__ == '__main__':
      nlp = StanfordCoreNLP('http://localhost:9000')
      fp = open("long_text.txt")
      text = fp.read()
      output = nlp.annotate(text, properties={
          'annotators': 'tokenize,ssplit,pos,depparse,parse',
          'outputFormat': 'json'
      })
      pp = pprint.PrettyPrinter(indent=4)
      pp.pprint(output)
  </code></pre>