Examples of TextRulerLearnerFactory


Examples of org.apache.uima.ruta.textruler.extension.TextRulerLearnerFactory

  // }

  public Map<String, Object> getCurrentParameterSettings() {
    Map<String, Object> result = new HashMap<String, Object>();
    IPreferenceStore store = TextRulerPlugin.getDefault().getPreferenceStore();
    TextRulerLearnerFactory f = algorithmController.getFactory();
    TextRulerLearnerParameter[] params = f.getAlgorithmParameters();
    if (params != null) {
      for (int i = 0; i < params.length; i++) {
        TextRulerLearnerParameter p = params[i];
        String id = algorithmController.getID() + "." + p.id;
        switch (p.type) {
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.