code: public void setKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases) {
          if (keyPhrases == null) {
              this.keyPhrases = null;
              return;
          }
  
          this.keyPhrases = new java.util.ArrayList<KeyPhrase>(keyPhrases);
      }
docs: <p>
  One or more <a>KeyPhrase</a> objects, one for each key phrase detected in the document.
  </p>
  
  @param keyPhrases
  One or more <a>KeyPhrase</a> objects, one for each key phrase detected in the document.