Package org.apache.ctakes.ytex.kernel.model

Examples of org.apache.ctakes.ytex.kernel.model.KernelEvaluationInstance


    // q.executeUpdate();
    // if (log.isWarnEnabled())
    // log.warn("replacing kernel, instanceId1: " + instanceId1s
    // + ", instanceId2: " + instanceId2s + ", name: " + name);
    // }
    KernelEvaluationInstance g = new KernelEvaluationInstance(
        kernelEvaluation.getKernelEvaluationId(), instanceId1s,
        instanceId2s, kernel);
    this.getSessionFactory().getCurrentSession().save(g);
  }
View Full Code Here


    q.setCacheable(true);
    q.setInteger("kernelEvaluationId",
        kernelEvaluation.getKernelEvaluationId());
    q.setLong("instanceId1", instanceId1s);
    q.setLong("instanceId2", instanceId2s);
    KernelEvaluationInstance g = (KernelEvaluationInstance) q
        .uniqueResult();
    if (g != null) {
      return g.getSimilarity();
    } else {
      return null;
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.ctakes.ytex.kernel.model.KernelEvaluationInstance

Copyright © 2018 www.massapicom. 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.