@Override public int run(String[] args) throws Exception { Map<String,List<String>> argMap = handleArgs(args); if (argMap == null) { return -1; } if (argMap.isEmpty()) { return 0; } // parse out the arguments runJob(getConf(), new Path(getOption("eigenInput")), new Path(getOption("corpusInput")), getOutputPath(), getOption("inMemory") != null, Double.parseDouble(getOption("maxError")), // Double.parseDouble(getOption("minEigenvalue")), Integer.parseInt(getOption("maxEigens"))); return 0; }
@Override public int run(String[] args) throws Exception { Map<String,List<String>> argMap = handleArgs(args); if (argMap == null) { return -1; } if (argMap.isEmpty()) { return 0; } // parse out the arguments runJob(getConf(), new Path(getOption("eigenInput")), new Path(getOption("corpusInput")), getOutputPath(), getOption("inMemory") != null, Double.parseDouble(getOption("maxError")), // Double.parseDouble(getOption("minEigenvalue")), Integer.parseInt(getOption("maxEigens"))); return 0; }
@Override public int run(String[] args) throws Exception { Map<String,List<String>> argMap = handleArgs(args); if (argMap == null) { return -1; } if (argMap.isEmpty()) { return 0; } // parse out the arguments runJob(getConf(), new Path(getOption("eigenInput")), new Path(getOption("corpusInput")), getOutputPath(), getOption("inMemory") != null, Double.parseDouble(getOption("maxError")), // Double.parseDouble(getOption("minEigenvalue")), Integer.parseInt(getOption("maxEigens"))); return 0; }