docs: private MtasSpanQuery createQuery(
        List<MtasCQLParserSentenceCondition> sentenceSequence)
        throws ParseException {
      if (sentenceSequence.size() == 1) {
        if (maximumOccurence > 1) {
          return new MtasSpanRecurrenceQuery(sentenceSequence.get(0).getQuery(),
              minimumOccurence, maximumOccurence, ignore, maximumIgnoreLength);
        } else {
          return sentenceSequence.get(0).getQuery();
        }
      } else {
        List<MtasSpanSequenceItem> clauses = new ArrayList<MtasSpanSequenceItem>();
        for (MtasCQLParserSentenceCondition sentence : sentenceSequence) {
          clauses.add(
              new MtasSpanSequenceItem(sentence.getQuery(), sentence.optional));
        }
        if (maximumOccurence > 1) {
          return new MtasSpanRecurrenceQuery(
              new MtasSpanSequenceQuery(clauses, ignore, maximumIgnoreLength),
              minimumOccurence, maximumOccurence, ignore, maximumIgnoreLength);
        } else {
          return new MtasSpanSequenceQuery(clauses, ignore, maximumIgnoreLength);
        }
      }
    }