Examples of DocumentNode


Examples of flex2.compiler.mxml.dom.DocumentNode

    if (hasUnresolvedNodes(unit))
    {
      return null;
    }

    DocumentNode app = (DocumentNode)unit.getSyntaxTree();
    assert app != null;

    DocumentInfo info = (DocumentInfo)unit.getContext().removeAttribute(MxmlCompiler.DOCUMENT_INFO);
    assert info != null;

    //  build MxmlDocument from MXML DOM
    MxmlDocument document = new MxmlDocument(unit, typeTable, info, mxmlConfiguration);
        DocumentBuilder builder = new DocumentBuilder(unit, typeTable, mxmlConfiguration, document);
    app.analyze(builder);

        if (ThreadLocalToolkit.errorCount() > 0)
        {
            return null;
        }
View Full Code Here

Examples of flex2.compiler.mxml.dom.DocumentNode

    if (hasUnresolvedNodes(unit))
    {
      return null;
    }

    DocumentNode app = (DocumentNode)unit.getSyntaxTree();
    assert app != null;

    DocumentInfo info = (DocumentInfo)unit.getContext().removeAttribute(MxmlCompiler.DOCUMENT_INFO);
    assert info != null;

    //  build MxmlDocument from MXML DOM
    MxmlDocument document = new MxmlDocument(unit, typeTable, info, mxmlConfiguration);
        DocumentBuilder builder = new DocumentBuilder(unit, typeTable, mxmlConfiguration, document);
    app.analyze(builder);

        if (ThreadLocalToolkit.errorCount() > 0)
        {
            return null;
        }
View Full Code Here

Examples of ivory.smrf.model.DocumentNode

      Node domNode, boolean docDependent, int cascadeStage, String pruner_and_params) throws ConfigurationException {
    // Clique set.
    List<Clique> cliques = Lists.newArrayList();

    // The document node.
    DocumentNode docNode = new DocumentNode();

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

Examples of ivory.smrf.model.DocumentNode

      throws ConfigurationException {
    // Clique set.
    List<Clique> cliques = Lists.newArrayList();

    // The document node.
    DocumentNode docNode = new DocumentNode();

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

Examples of ivory.smrf.model.DocumentNode

    // Initialize clique set.
    clearCliques();

    // The document node.
    DocumentNode docNode = new DocumentNode();

    // Default parameter associated with clique set.
    Parameter termParameter = new Parameter(Parameter.DEFAULT, 1.0f);

    // Get potential type.
View Full Code Here

Examples of ivory.smrf.model.DocumentNode

*/
public class CliqueFactory {
  public static List<Clique> getSequentialDependenceCliques(RetrievalEnvironment env,
      String[] queryTerms, Node domNode, boolean docDependent) throws ConfigurationException {
    List<Clique> cliques = Lists.newArrayList();     // Clique set.
    DocumentNode docNode = new DocumentNode();       // The document node.

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

Examples of ivory.smrf.model.DocumentNode

  public static List<Clique> getFullDependenceCliques(RetrievalEnvironment env,
      String[] queryTerms, Node domNode, boolean ordered, boolean docDependent)
      throws ConfigurationException {
    List<Clique> cliques = Lists.newArrayList();     // Clique set.
    DocumentNode docNode = new DocumentNode();       // The document node.

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

Examples of ivory.smrf.model.DocumentNode

    // Initialize clique set.
    clearCliques();

    // The document node.
    DocumentNode docNode = new DocumentNode();

    // Default parameter associated with clique set.
    Parameter termParameter = new Parameter(Parameter.DEFAULT, 1.0f);

    // Get potential type.
View Full Code Here

Examples of ivory.smrf.model.DocumentNode

    Preconditions.checkNotNull(domNode);

    // Initialize clique set.
    clearCliques();

    DocumentNode docNode = new DocumentNode();
    ArrayList<GraphNode> cliqueNodes = Lists.newArrayList();
    cliqueNodes.add(docNode);

    String paramId = XMLTools.getAttributeValueOrThrowException(domNode, "id",
        "Error: A potential attribute must be specified in order to generate a clique set!");
View Full Code Here

Examples of ivory.smrf.model.DocumentNode

      bestConcepts[i] = a;
      totalWt += a.score;
    }

    // Document node (shared across all expansion cliques).
    DocumentNode docNode = new DocumentNode();

    // Expression generator (shared across all expansion cliques).
    ExpressionGenerator generator = new TermExpressionGenerator();

    // Add cliques corresponding to best expansion concepts.
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.