Package org.apache.uima.ruta.rule

Examples of org.apache.uima.ruta.rule.RutaRule


    elements.add(element);
    return createRule(elements, parent);
  }

  public RutaRule createRule(List<RuleElement> elements, RutaBlock parent) {
    return new RutaRule(elements, parent, idCounter++);
  }
View Full Code Here


    this.verbalizer = verbalizer;
  }

  public String verbalizeBlock(RutaBlock block, boolean withElements) {
    StringBuilder result = new StringBuilder();
    RutaRule rule = block.getRule();
    List<RutaStatement> elements = block.getElements();
    result.append("BLOCK(");
    result.append(block.getName());
    result.append(")");
    result.append(" ");
View Full Code Here

TOP

Related Classes of org.apache.uima.ruta.rule.RutaRule

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.