Examples of CombinedTableContainer


Examples of org.maltparserx.parser.history.container.CombinedTableContainer

        }
        tmp = new TableContainer(tableHandlers.get(sbTableHandler.toString()).getSymbolTable(sbTable.toString()), sbTableHandler.toString()+"."+sbTable.toString(), decisionSeparator);
        actionTables.add(tmp);
        k++;
        if (k-start > 1) {
          decisionTables.add(new CombinedTableContainer(getTableHandler("A"), separator, actionTables.subList(start, k), decisionSeparator));
        } else {
          decisionTables.add(tmp);
        }
        sbTableHandler.setLength(0);
        sbTable.setLength(0);
View Full Code Here

Examples of org.maltparserx.parser.history.container.CombinedTableContainer

      throw new HistoryException("The action containers does not exist or is not of the same size as the action table. ");
    }
    int j = 0;
    for (int i = 0, n = history.getDecisionTables().size(); i < n; i++) {
      if (history.getDecisionTables().get(i) instanceof CombinedTableContainer) {
        CombinedTableContainer tableContainer = (CombinedTableContainer)history.getDecisionTables().get(i);
        int nContainers = tableContainer.getNumberContainers();
        decisions.get(i).addDecision(tableContainer.getCombinedCode(actionContainers.subList(j, j + nContainers)));
        j = j + nContainers;
      } else {
        decisions.get(i).addDecision(actionContainers.get(j).getActionCode());
        j++;
      }
View Full Code Here

Examples of org.maltparserx.parser.history.container.CombinedTableContainer

      throw new HistoryException("The action containers does not exist or is not of the same size as the action table. ");
    }
    int j = 0;
    for (int i = 0, n=history.getDecisionTables().size(); i < n; i++) {
      if (history.getDecisionTables().get(i) instanceof CombinedTableContainer) {
        CombinedTableContainer tableContainer = (CombinedTableContainer)history.getDecisionTables().get(i);
        int nContainers = tableContainer.getNumberContainers();
        tableContainer.setActionContainer(actionContainers.subList(j, j + nContainers), decisions.get(i).getDecisionCode());
        j = j + nContainers;
      } else {
        actionContainers.get(j).setAction(decisions.get(i).getDecisionCode());
        j++;
      }
View Full Code Here

Examples of org.maltparserx.parser.history.container.CombinedTableContainer

      throw new HistoryException("The action containers does not exist or is not of the same size as the action table. ");
    }
    int j = 0;
    for (int i = 0, n = history.getDecisionTables().size(); i < n; i++) {
      if (history.getDecisionTables().get(i) instanceof CombinedTableContainer) {
        CombinedTableContainer tableContainer = (CombinedTableContainer)history.getDecisionTables().get(i);
        int nContainers = tableContainer.getNumberContainers();
        decisions.get(i).addDecision(tableContainer.getCombinedCode(actionContainers, j));
        j = j + nContainers;
      } else {
        decisions.get(i).addDecision(actionContainers[j].getActionCode());
        j++;
      }
View Full Code Here

Examples of org.maltparserx.parser.history.container.CombinedTableContainer

      throw new HistoryException("The action containers does not exist or is not of the same size as the action table. ");
    }
    int j = 0;
    for (int i = 0, n=history.getDecisionTables().size(); i < n; i++) {
      if (history.getDecisionTables().get(i) instanceof CombinedTableContainer) {
        CombinedTableContainer tableContainer = (CombinedTableContainer)history.getDecisionTables().get(i);
        int nContainers = tableContainer.getNumberContainers();
        tableContainer.setActionContainer(actionContainers, j, decisions.get(i).getDecisionCode());
        j = j + nContainers;
      } else {
        actionContainers[j].setAction(decisions.get(i).getDecisionCode());
        j++;
      }
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.