title: Multi-term named entities in Stanford Named Entity Recognizer
body: <p>I'm using the Stanford Named Entity Recognizer <a href="http://nlp.stanford.edu/software/CRF-NER.shtml">http://nlp.stanford.edu/software/CRF-NER.shtml</a> and it's working fine. This is</p>
  
  <pre><code>    List&lt;List&lt;CoreLabel&gt;&gt; out = classifier.classify(text);
      for (List&lt;CoreLabel&gt; sentence : out) {
          for (CoreLabel word : sentence) {
              if (!StringUtils.equals(word.get(AnswerAnnotation.class), "O")) {
                  namedEntities.add(word.word().trim());           
              }
          }
      }
  </code></pre>
  
  <p>However the problem I'm finding is identifying names and surnames. If the recognizer encounters "Joe Smith", it is returning "Joe" and "Smith" separately. I'd really like it to return "Joe Smith" as one term. </p>
  
  <p>Could this be achieved through the recognizer maybe through a configuration? I didn't find anything in the javadoc till now. </p>
  
  <p>Thanks!</p>