public class BengalController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
APP_NAME |
protected static org.apache.commons.cli.Options |
CLI_OPTS |
protected static PrintWriter |
CONSOLE_WRITER |
protected static String |
DICTPATH_OPT |
protected static org.apache.commons.cli.HelpFormatter |
HELP_FORMATTER |
protected static org.apache.commons.cli.Option |
HELP_OPT |
private static org.slf4j.Logger |
LOGGER |
protected static String |
MAXSENTENCE_OPT |
protected static String |
MINSENTENCE_OPT |
protected static String |
NUMBEROFDOCUMENTS_OPT |
protected static String |
ONLYOBJECTPROPS_OPT |
protected static String |
PARAPHRASE_OPT |
protected static String |
PRONOUNS_OPT |
protected static String |
SEEDS_OPT |
protected static String |
SELECTORTYPE_OPT |
protected static String |
SFPATH_OPT |
protected static String |
SPARQLENDPOINT_OPT |
protected static String |
SURFACEFORMS_OPT |
protected static String |
WAITTIME_OPT |
| Constructor and Description |
|---|
BengalController() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
checkForHelp(String[] args) |
protected static BengalRunConfig |
generateConfigBean(org.apache.commons.cli.CommandLine cmd) |
static void |
generateCorpus(BengalRunConfig runConfig,
String corpusName) |
static void |
main(String[] args) |
protected static void |
process(BengalRunConfig runConfig) |
private static final org.slf4j.Logger LOGGER
protected static final org.apache.commons.cli.Option HELP_OPT
protected static final org.apache.commons.cli.Options CLI_OPTS
protected static final org.apache.commons.cli.HelpFormatter HELP_FORMATTER
protected static final PrintWriter CONSOLE_WRITER
protected static final String APP_NAME
protected static final String PARAPHRASE_OPT
protected static final String PRONOUNS_OPT
protected static final String SURFACEFORMS_OPT
protected static final String ONLYOBJECTPROPS_OPT
protected static final String NUMBEROFDOCUMENTS_OPT
protected static final String SEEDS_OPT
protected static final String MINSENTENCE_OPT
protected static final String MAXSENTENCE_OPT
protected static final String WAITTIME_OPT
protected static final String SPARQLENDPOINT_OPT
protected static final String SELECTORTYPE_OPT
protected static final String DICTPATH_OPT
protected static final String SFPATH_OPT
public static void main(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionprotected static BengalRunConfig generateConfigBean(org.apache.commons.cli.CommandLine cmd)
protected static boolean checkForHelp(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionprotected static void process(BengalRunConfig runConfig)
public static void generateCorpus(BengalRunConfig runConfig, String corpusName)
Copyright © 2020. All rights reserved.