本文整理汇总了Java中uk.co.flamingpenguin.jewel.cli.Option类的典型用法代码示例。如果您正苦于以下问题:Java Option类的具体用法?Java Option怎么用?Java Option使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Option类属于uk.co.flamingpenguin.jewel.cli包,在下文中一共展示了Option类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getModel
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "m", description = "Path to the parser model")
String getModel();
示例2: getInputFile
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "f", defaultValue = "", description = "(Optional) Path to the input text file. Otherwise, the parser will read from stdin.")
String getInputFile();
示例3: getInputFormat
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "i", defaultValue = "tokenized", description = "(Optional) Input Format: one of \"tokenized\", \"POStagged\" (word|pos), or \"POSandNERtagged\" (word|pos|ner)")
String getInputFormat();
示例4: getOutputFormat
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "o", description = "Output Format: one of \"logic\", \"srl\", \"srl_indices\", \"ccgbank\", \"html\", \"dependencies\" or \"supertags\"", defaultValue = "logic")
String getOutputFormat();
示例5: getParsingAlgorithm
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "a", description = "(Optional) Parsing algorithm: one of \"astar\" or \"cky\"", defaultValue = "astar")
String getParsingAlgorithm();
示例6: getMaxLength
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "l", defaultValue = "70", description = "(Optional) Maximum length of sentences in words. Defaults to 70.")
int getMaxLength();
示例7: getNbest
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "n", defaultValue = "1", description = "(Optional) Number of parses to return per sentence. Values >1 are only supported for A* parsing. Defaults to 1.")
int getNbest();
示例8: getRootCategories
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "r", defaultValue = { "S[dcl]", "S[wq]", "S[q]", "S[b]\\NP", "NP" }, description = "(Optional) List of valid categories for the root node of the parse. Defaults to: S[dcl] S[wq] S[q] NP S[b]\\NP")
List<Category> getRootCategories();
示例9: getSupertaggerbeam
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(defaultValue = "0.01", description = "(Optional) Prunes lexical categories whose probability is less than this ratio of the best category. Decreasing this value will slightly improve accuracy, and give more varied n-best output, but decrease speed. Defaults to 0.01 (currently only used for the joint model).")
double getSupertaggerbeam();
示例10: getSupertaggerWeight
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "w", defaultValue = "1.0", description = "Use a specified supertagger weight, instead of the pretrained value.")
double getSupertaggerWeight();
示例11: getHelp
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(helpRequest = true, description = "Display this message", shortName = "h")
boolean getHelp();
示例12: getModel
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName="m", description = "Path to the parser model")
File getModel();
示例13: getInputFile
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName="f", defaultValue="", description = "(Optional) Path to the input text file. Otherwise, the parser will read from stdin.")
File getInputFile();
示例14: getInputFormat
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName="i", defaultValue="tokenized", description = "(Optional) Input Format: one of \"tokenized\", \"POStagged\", \"POSandNERtagged\", \"gold\", \"deps\" or \"supertagged\"")
String getInputFormat();
示例15: getOutputFormat
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName="o", description = "Output Format: one of \"ccgbank\", \"html\", or \"prolog\"", defaultValue="ccgbank")
String getOutputFormat();