Package edu.stanford.nlp.sempre

Examples of edu.stanford.nlp.sempre.ListValue


    }

    if (!(pDerivation.value instanceof ListValue))
      throw new RuntimeException("Derivation value is not a list: " + pDerivation.value);

    ListValue list = (ListValue) pDerivation.value;
    if (Formulas.isCountFormula(pDerivation.formula)) {
      if (list.values.size() != 1) {
        throw new RuntimeException(
            "Evaluation of count formula " + pDerivation.formula + " has size " + list.values.size());
      }
View Full Code Here

TOP

Related Classes of edu.stanford.nlp.sempre.ListValue

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.