code: public static LabelAwareSentenceIterator createWithPath(String path) throws Exception {
          return new LabelAwareUimaSentenceIterator(null, path,
                          new UimaResource(AnalysisEngineFactory.createEngine(AnalysisEngineFactory
                                          .createEngineDescription(TokenizerAnnotator.getDescription(),
                                                          SentenceAnnotator.getDescription()))));
      }
docs: Creates a uima sentence iterator with the given path
  @param path the path to the root directory or file to read from
  @return the uima sentence iterator for the given root dir or file
  @throws Exception