code: public void parseText(String text, IHit<V> processor)
      {
          int position = 1;
          int currentState = 0;
          for (int i = 0; i < text.length(); ++i)
          {
              currentState = getState(currentState, text.charAt(i));
              int[] hitArray = output[currentState];
              if (hitArray != null)
              {
                  for (int hit : hitArray)
                  {
                      processor.hit(position - l[hit], position, v[hit]);
                  }
              }
              ++position;
          }
      }
docs: 处理文本
  
  @param text      文本
  @param processor 处理器