Examples of synopsis()


Examples of weka.core.Option.synopsis()

  DatabaseSaver asv = new DatabaseSaver();
        try {
          Enumeration enumi = asv.listOptions();
          while (enumi.hasMoreElements()) {
            Option option = (Option)enumi.nextElement();
            text.append(option.synopsis()+'\n');
            text.append(option.description()+'\n');
       
          asv.setOptions(options);
          asv.setDestination();
        } catch (Exception ex) {
View Full Code Here

Examples of weka.core.Option.synopsis()

      if (m_query.equals("Select * from Results0")) {
        text.append("\n\nDatabaseLoader options:\n");
        Enumeration enumi = listOptions();
        while (enumi.hasMoreElements()) {
          Option option = (Option) enumi.nextElement();
          text.append(option.synopsis() + '\n');
          text.append(option.description() + '\n');
        }
      }
    }
    logger.debug("OUT: " + result);
View Full Code Here

Examples of weka.core.Option.synopsis()

      System.err.println(e.getMessage());
      System.err.println("\nOptions:\n");
      Enumeration<Option> en = topicExtractor.listOptions();
      while (en.hasMoreElements()) {
        Option option = (Option) en.nextElement();
        System.err.println(option.synopsis());
        System.err.println(option.description());
      }
    }
  }
}
View Full Code Here

Examples of weka.core.Option.synopsis()

      } catch (Exception ex) {
  String result = "";
  Enumeration enu = tt.listOptions();
  while (enu.hasMoreElements()) {
    Option option = (Option) enu.nextElement();
    result += option.synopsis() + '\n'
      + option.description() + '\n';
  }
  throw new Exception(
        "Usage:\n\n"
        + "-t <file>\n"
View Full Code Here

Examples of weka.core.Option.synopsis()

    result = new StringBuffer();
    result.append("\nStemmer options:\n\n");
    enm = options.elements();
    while (enm.hasMoreElements()) {
      Option option = (Option) enm.nextElement();
      result.append(option.synopsis() + "\n");
      result.append(option.description() + "\n");
    }

    return result.toString();
  }
View Full Code Here

Examples of weka.core.Option.synopsis()

      + "\tget options from XML-Data instead from parameters\n"
            + "\n";
    Enumeration enm = ((OptionHandler)exp).listOptions();
    while (enm.hasMoreElements()) {
      Option option = (Option) enm.nextElement();
      result += option.synopsis() + "\n";
      result += option.description() + "\n";
    }
    throw new Exception(result + "\n" + ex.getMessage());
  }
      } else {
View Full Code Here

Examples of weka.core.Option.synopsis()

  System.out.println();

  Enumeration enu = new Main().listOptions();
  while (enu.hasMoreElements()) {
    Option option = (Option) enu.nextElement();
    System.out.println(option.synopsis());
    System.out.println(option.description());
  }

  System.out.println();
  System.exit(0);
View Full Code Here

Examples of weka.core.Option.synopsis()

      } catch (Exception ex) {
  String result = "";
  Enumeration enu = tt.listOptions();
  while (enu.hasMoreElements()) {
    Option option = (Option) enu.nextElement();
    result += option.synopsis() + '\n'
      + option.description() + '\n';
  }
  throw new Exception(
        "Usage:\n\n"
        + "-t <file>\n"
View Full Code Here

Examples of weka.core.Option.synopsis()

            } catch (Exception ex) {
                String result = ex.getMessage() + "\nBVDecompose Options:\n\n";
                Enumeration enu = bvd.listOptions();
                while (enu.hasMoreElements()) {
                    Option option = (Option) enu.nextElement();
                    result += option.synopsis() + "\n" + option.description() + "\n";
                }
                throw new Exception(result);
            }
           
            bvd.decompose();
View Full Code Here

Examples of weka.core.Option.synopsis()

       + "\tget options from XML-Data instead from parameters\n"
       + "\n";
    Enumeration enm = ((OptionHandler)base).listOptions();
    while (enm.hasMoreElements()) {
      Option option = (Option) enm.nextElement();
      result += option.synopsis() + "\n";
      result += option.description() + "\n";
    }
    throw new Exception(result + "\n" + ex.getMessage());
  }
      } else {
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.