Package edu.isi.karma.cleaning

Examples of edu.isi.karma.cleaning.InterpreterType.execute()


    Collection<ProgramRule> ps = psProgSynthesis.run_main();
    ProgramRule pr = ps.iterator().next();
    System.out.println("" + pr.toString());
    String val = "J. B. Blunk";
    InterpreterType rule = pr.getRuleForValue(val);
    System.out.println(rule.execute(val));
  }

  public static void main(String[] args) {
    ConfigParameters cfg = new ConfigParameters();
    cfg.initeParameters();
View Full Code Here


    this.prog = prog;
    this.signature = prog.signString;
  }
  public String transform(String value) {
    InterpreterType worker = prog.getRuleForValue(value);
    String s = worker.execute(value);
    if(s.contains("_FATAL_ERROR_"))
      return value;
    else
      return s;
 
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.