本文整理汇总了Java中uk.co.flamingpenguin.jewel.cli.Option类的典型用法代码示例。如果您正苦于以下问题:Java Option类的具体用法?Java Option怎么用?Java Option使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Option类属于uk.co.flamingpenguin.jewel.cli包,在下文中一共展示了Option类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getModel
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName = "m", description = "Path to the parser model")
String getModel();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例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();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例11: getHelp
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(helpRequest = true, description = "Display this message", shortName = "h")
boolean getHelp();
开发者ID:uwnlp,项目名称:EasySRL,代码行数:3,代码来源:EasySRL.java
示例12: getModel
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName="m", description = "Path to the parser model")
File getModel();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
示例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();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
示例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();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
示例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();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
示例16: 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();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
示例17: getNbest
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName="n", defaultValue="1", description = "(Optional) Number of parses to return per sentence. Defaults to 1.")
int getNbest();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
示例18: getRootCategories
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName="r", defaultValue={"S[dcl]", "S[wq]", "S[q]", "S[qem]", "NP"}, description = "(Optional) List of valid categories for the root node of the parse. Defaults to: S[dcl] S[wq] S[q] NP")
List<String> getRootCategories();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
示例19: getUnrestrictedRules
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(shortName="s", description = "(Optional) Allow rules not involving category combinations seen in CCGBank. Slows things down by around 20%.")
boolean getUnrestrictedRules();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
示例20: getTiming
import uk.co.flamingpenguin.jewel.cli.Option; //导入依赖的package包/类
@Option(description = "(Optional) If true, print detailed timing information.")
boolean getTiming();
开发者ID:mikelewis0,项目名称:easyccg,代码行数:3,代码来源:EasyCCG.java
注:本文中的uk.co.flamingpenguin.jewel.cli.Option类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论