Examples of evaluate()


Examples of edu.stanford.nlp.parser.metrics.Evalb.evaluate()

          if (op.nodePrune) {
            NodePruner np = new NodePruner(parser, debinarizer);
            tree4 = np.prune(tree4);
          }
          //tree4.pennPrint();
          comboPE.evaluate(tc.transformTree(tree4), tc.transformTree(tree), pw);
        }
        //pcfgTE.evaluate(tree2, tree);
        pcfgTE.evaluate(tcEvalb.transformTree(tree2), tcEvalb.transformTree(tree), pw);
        pcfgTEnoPunct.evaluate(tc.transformTree(tree2), tc.transformTree(tree), pw);

Examples of edu.stanford.nlp.parser.metrics.TaggingEval.evaluate()

        tree4 = tree2b;
      }
      //tree4.pennPrint();
      if (op.doDep) {
        depDE.evaluate(tree3, binaryTree, pw);
        depTE.evaluate(tree3db, tree, pw);
      }
      TreeTransformer tc = op.tlpParams.collinizer();
      TreeTransformer tcEvalb = op.tlpParams.collinizerEvalb();
      if (op.doPCFG) {
        // System.out.println("XXXX Best PCFG was: ");

Examples of edu.stanford.nlp.parser.metrics.UnlabeledAttachmentEval.evaluate()

        //tc.transformTree(tree).pennPrint();
        pcfgPE.evaluate(tc.transformTree(tree2), tc.transformTree(tree), pw);
        pcfgCB.evaluate(tc.transformTree(tree2), tc.transformTree(tree), pw);
        Tree tree4b = null;
        if (op.doDep) {
          comboDE.evaluate((bothPassed ? tree4 : tree3), binaryTree, pw);
          tree4b = tree4;
          tree4 = debinarizer.transformTree(tree4);
          if (op.nodePrune) {
            NodePruner np = new NodePruner(parser, debinarizer);
            tree4 = np.prune(tree4);

Examples of eu.admire.dispel.parser.expression.Tuple.evaluate()

            break;
        }
        case TUPLE:
        {
            Tuple expression = ((TupleStrategy)strategy).getTupleExpression();
            Object value = expression.evaluate(mExecutionState.getVariables());
            mExpressions.add(value);
            break;
        }
        case STYPE:
            mStype = ((STypeStrategy)strategy).getType();

Examples of eu.bitfish.jcf.common.expression.AbstractExpression.evaluate()

    // TODO allow all whitespaces in value!!!

    final List<T> filtered = new ArrayList<>();
    for (T obj : collection) {
      if (ex.evaluate(obj)) {
        filtered.add(obj);

        // if the order is set we have to add all items before limiting
        // the result
        if (ex.getLimit() != -1 && ex.getOrder() == null

Examples of flex2.compiler.as3.binding.TypeAnalyzer.evaluate()

        currentContext = context;
       
        //This walks the class hiearchy to insure that the tree has been parsed
        //we need to do this before we use getClassInfo() to make sure we get all the
        //baseclasses' info
        typeAnalyzer.evaluate(context, node);
       
        ClassInfo classInfo = typeAnalyzer.getClassInfo(className);
       
        //Returns a hash of all skin parts, including inherited parts
        Map<String, Boolean> parts = classInfo.getSkinParts(true);

Examples of gov.nasa.arc.mct.evaluator.api.Evaluator.evaluate()

  public void testEvaluatorCapability() {
    EvaluatorComponent ec = new EvaluatorComponent();
    Evaluator e = ec.getCapability(Evaluator.class);
    EvaluatorProviderRegistry registry = new EvaluatorProviderRegistry();
   
    Assert.assertNotNull(e.evaluate(Collections.<String,List<Map<String,String>>>emptyMap(), Collections.<FeedProvider>emptyList()));
   
    ec = new EvaluatorComponent();
    final String language = "test/language";
    EvaluatorModelRole mcr = ec.getModel();
    mcr.getData().setLanguage(language);

Examples of gov.nasa.arc.mct.evaluator.api.Executor.evaluate()

    FeedProvider.RenderingInfo data = new FeedProvider.RenderingInfo(inputValue, Color.red, "x", Color.red, true);
    Mockito.when(fp.getRenderingInfo(Mockito.anyMap())).thenReturn(data);
    Map<String, String> value = Collections.singletonMap(FeedProvider.NORMALIZED_RENDERING_INFO, data.toString());
    List<Map<String, String>> values = Collections.singletonList(value);
    Map<String, List<Map<String, String>>> dataSet = Collections.singletonMap(fp.getSubscriptionId(), values);
    FeedProvider.RenderingInfo info = e.evaluate(dataSet, Collections.singletonList(fp));
    Assert.assertTrue(info.isValid());
    Assert.assertEquals(info.getValueText(), expectedValue);
  }
}

Examples of gov.nasa.arc.mct.evaluator.enums.EnumEvaluator.evaluate()

   * @return the evaluated result.
   */
  public String evaluate(String value){
    EnumEvaluator e = new EnumEvaluator();
    e.compile(ec.getData().getCode());
    return e.evaluate(value);
  }
 
  /**
   * Expressions table model.
   */
 

Examples of gov.nist.scap.cpe.language.eval.CPEEvaluator.evaluate()

          results);
      for (Platform<?> platform : platformSpecification.getPlatforms()) {
        String platformId = platform.getId();
        CPEEvaluator.Result result;
        try {
          result = evaluator.evaluate(platform);
        } catch (CPELanguageEvaluationException e) {
          log.error("unable to evaluate platform: " + platformId, e);
          result = CPEEvaluator.Result.ERROR;
        }
        cpeLanguageToStatusMap.put(platformId, result);
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.