title: Stanford coreNLP sentiment without splitting sentences
body: <p>I have files I'm feeding to coreNLP's sentiment tagger.  I have already broken the files up into individual sentences and thus want to return one tag per file.  How can I make the java command return one tag.</p>
  
  <p>The command looks like this <code>java -cp "*" -mx5g edu.stanford.nlp.sentiment.SentimentPipeline -stdin</code> and outputs as follows:</p>
  
  <pre><code>Annotation pipeline timing information:
  TokenizerAnnotator: 0.0 sec.
  WordsToSentencesAnnotator: 0.0 sec.
  TOTAL: 0.0 sec. for 8 tokens at 296.3 tokens/sec.
  Pipeline setup: 0.0 sec.
  Total time for StanfordCoreNLP pipeline: 8.7 sec.
  
  C:\stanford-corenlp-full-2015-04-20&gt;java -cp "*" -mx5g edu.stanford.nlp.sentiment.SentimentPipeline -stdin
  Adding annotator tokenize
  TokenizerAnnotator: No tokenizer type provided. Defaulting to PTBTokenizer.
  Adding annotator ssplit
  Adding annotator parse
  Loading parser from serialized file edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz ... done [0.4 sec].
  Adding annotator sentiment
  Reading in text from stdin.
  Please enter one sentence per line.
  Processing will end when EOF is reached.
  
  Computer is fun. Not too fun.
    Positive
    Neutral
  </code></pre>
  
  <p>How could I make the output a single tag similar to what I did below by removing the punctuation:</p>
  
  <pre><code>Computer is fun Not too fun.
    Positive  
  </code></pre>
  
  <p>It seems I should be able to do this easily since there is the <code>-ssplit.isOneSentence</code> and to my understanding the sentiment tagger uses <code>ssplit</code> but I don't know how to rework my command to incorporate it (I have read <a href="http://stanfordnlp.github.io/CoreNLP/cmdline.html" rel="nofollow">command line documentation</a>).</p>