code: public static Token findTokenByBeginPosition(JCas jCas, int begin)
      {
          for (Token token : JCasUtil.select(getInitialView(jCas), Token.class)) {
              if (token.getBegin() == begin) {
                  return token;
              }
          }
  
          return null;
      }
docs: Returns token at the given position
  
  @param jCas  jCas
  @param begin token begin position
  @return Token or null