Examples of AddressValue


Examples of org.maltparserx.core.feature.value.AddressValue

  public void updateCardinality() throws MaltChainedException {
//    featureValue.setCardinality(table.getValueCounter());
  }

  public void update() throws MaltChainedException {
    AddressValue a = addressFunction.getAddressValue();
    if (a.getAddress() != null && a.getAddressClass() == org.maltparserx.core.syntaxgraph.node.DependencyNode.class) {
      DependencyNode node = (DependencyNode)a.getAddress();
      try {
        int index = Integer.parseInt(node.getLabelSymbol(column.getSymbolTable()));
        if (node.isRoot()) {
          featureValue.setIndexCode(table.getNullValueCode(NullValueId.ROOT_NODE));
          featureValue.setSymbol(table.getNullValueSymbol(NullValueId.ROOT_NODE));
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.