code: public Token findVerb(Sentence sentence) {
      List<SyntacticChunk> syntChunks = sentence.getSyntacticChunks();
  
      for (int i = 0; i < syntChunks.size(); i++) {
        String tag = syntChunks.get(i).getTag();
  
        if (tag.equals("P") || tag.equals("MV") || tag.equals("PMV")
            || tag.equals("AUX") || tag.equals("PAUX"))
          return syntChunks.get(i).getTokens().get(0);
      }
  
      return null;
    }
docs: Looks in a sentence for a verb.
  
  @param sentence
  entered by the user
  @return the <tt>Token</tt> which contains the searched verb, in case none
  was found returns <tt>null</tt>