code: @Override
      public LabelledDocument nextDocument() {
          LabelledDocument document = currentIterator.next();
          for (String label : document.getLabels()) {
              labels.storeLabel(label);
          }
  
          return document;
      }
docs: This method returns next LabelledDocument from underlying iterator
  @return