code: public String getAnalysisAsString() {
      if (this.tokens.size() > 0
          && this.tokens.get(0).getMorphologicalTag() == null) {
        throw new IllegalStateException("The sentence was not analyzed yet.");
      }
  
      StringBuilder sb = new StringBuilder();
      for (int i = 0; i < this.tokens.size(); i++) {
        sb.append("[").append(this.tokens.get(i).getSyntacticTag()).append("]");
        sb.append("[").append(this.tokens.get(i).getChunkTag()).append("]");
        sb.append(" ").append(this.tokens.get(i)).append(" -> ");
        sb.append("{").append(this.tokens.get(i).getPrimitive()).append("}");
        sb.append("_").append(this.tokens.get(i).getMorphologicalTag());
        sb.append("\n");
      }
      return sb.toString();
    }
docs: Returns the grammar check analysis as a string like as follows:
  
  <pre>
  [VERB][B-VP*] Fomos --> {}_V_PS_1P_IND_VFIN_
  [-   ][I-VP ] levados --> {levar}_V_PCP_M_P_
  [-   ][O    ] a --> {a}_PRP_
  [-   ][B-NP ] a --> {}_DET_F_S_
  [-   ][I-NP*] crer --> {crer}_V_INF_3S_
  [-   ][O    ] . --> {}_-PNT_ABS
  </pre>
  
  @return the grammar check analysis as a string.