Examples of preProcess()


Examples of org.mitre.medfacts.i2b2.api.SingleDocumentProcessor.preprocess()

      List<Annotation> assertions = assertionProcessor.processAnnotationFile(assertionFile);

      JCas jcas = cas.getJCas();
      SingleDocumentProcessor p = new SingleDocumentProcessor();
      p.setContents(contents);
      p.preprocess();
      String [][] tokenArrays = p.getTokenArrays();
      jcas.setSofaDataString(contents, "");
      int sentNum = 0;
      int tokNum = 0;
      for (int i=0; i < tokenArrays.length; i++) {
View Full Code Here

Examples of org.openbp.cockpit.generator.Generator.preProcess()

    GeneratorContext context = getContext();
    context.setProperty("mergeModeRequester", new GeneratorMergeModeRequester());

    // Call the generator
    Generator generator = context.getSelectedGenerator();
    generator.preProcess(context);
  }

  /**
   * Performs the processing.
   * This method is called from inside the Swing worker thread to perform the processing.
View Full Code Here

Examples of org.springframework.ldap.control.PagedResultsDirContextProcessor.preProcess()

            if (pageSize > 0)
            {
                do
                {
                    processor = new PagedResultsDirContextProcessor(pageSize, cookie);
                    processor.preProcess(ctx);
                    results = base != null ? ctx.search(base, filter, controls) : ctx.search(baseName, filter, controls);
                    int pageIndex = 0;
                    while (doNext && results.hasMore())
                    {
                        doNext = handler.handleSearchResult(results.next(), pageSize, pageIndex++, index++);
View Full Code Here

Examples of se.llbit.j99.pp.PP.preprocess()

      ByteArrayOutputStream out = new ByteArrayOutputStream();

      PP pp = new PP();
      pp.define("AMBIENT_OCCLUSION", "AMBIENT_OCCLUSION");
      //pp.define("RNGTEST", "RNGTEST");
      if (pp.preprocess(resourceName, basePath, in, out, System.err)) {
        String kernel = new String(out.toByteArray());
        return kernel;
      }

    } catch (IOException e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.