code: public List<Hit<V>> parseText(String text)
      {
          int position = 1;
          int currentState = 0;
          List<Hit<V>> collectedEmits = new LinkedList<Hit<V>>();
          for (int i = 0; i < text.length(); ++i)
          {
              currentState = getState(currentState, text.charAt(i));
              storeEmits(position, currentState, collectedEmits);
              ++position;
          }
  
          return collectedEmits;
      }
docs: 匹配母文本
  
  @param text 一些文本
  @return 一个pair列表