本文整理汇总了Java中gate.creole.metadata.RunTime类的典型用法代码示例。如果您正苦于以下问题:Java RunTime类的具体用法?Java RunTime怎么用?Java RunTime使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RunTime类属于gate.creole.metadata包,在下文中一共展示了RunTime类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: setReferenceDate
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@Optional
@CreoleParameter(comment = "Reference date of the document. Permissible date values are 'yyyy-MM-dd', " +
"annotation (document annotation holding the date)" +
"'today' (today's date), 'creationDate' (date file was created), " +
"'lastAccessDate' (date file was last accessed) and 'lastModifiedDate' (date file was last modified).",
defaultValue = "today")
public void setReferenceDate(String date) {
referenceDate = date;
}
开发者ID:pkourdis,项目名称:gateplugin-SUTime,代码行数:11,代码来源:TemporalTagger.java
示例2: setDocument
import gate.creole.metadata.RunTime; //导入依赖的package包/类
/**
* @param document the document to set
*/
@Override
@Optional
@RunTime
@CreoleParameter
public void setDocument(Document document) {
this.document = document;
}
开发者ID:GateNLP,项目名称:gate-core,代码行数:11,代码来源:ConditionalSerialAnalyserController.java
示例3: setGenWordShape
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(
comment = "Generate word shape",
defaultValue = "false")
public void setGenWordShape(Boolean val) {
genWordShape = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:8,代码来源:LF_GenFeatures_Misc.java
示例4: setGenWordShapeShort
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(
comment = "Generate short word shape",
defaultValue = "true")
public void setGenWordShapeShort(Boolean val) {
genWordShapeShort = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:8,代码来源:LF_GenFeatures_Misc.java
示例5: setStringFeature
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@Optional
@CreoleParameter(defaultValue = "",
comment = "Where to take the word string from, empty means underlying document string"
)
public void setStringFeature(String val) {
stringFeature = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LF_GenFeatures_Misc.java
示例6: setInstanceWeightFeature
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@Optional
@CreoleParameter(comment = "The feature that constains the instance weight. If empty, no instance weights are used",
defaultValue="")
public void setInstanceWeightFeature(String val) {
instanceWeightFeature = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:8,代码来源:LF_Export.java
示例7: setSeqEncoder
import gate.creole.metadata.RunTime; //导入依赖的package包/类
/**
* The sequence to classification algorithm to use.
*/
@RunTime
@Optional
@CreoleParameter(comment = "The sequence to classification algorithm to use." )
public void setSeqEncoder(SeqEncoderEnum val) {
seqEncoderEnum = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:10,代码来源:LF_Export.java
示例8: setSequenceSpan
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@Optional
@CreoleParameter(comment = "For sequence learners, an annotation type "
+ "defining a meaningful sequence span. Ignored by non-sequence "
+ "learners.")
public void setSequenceSpan(String seq) {
this.sequenceSpan = seq;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LF_TrainClassification.java
示例9: setConfidenceThreshold
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(defaultValue = "0.0", comment = "The minimum "
+ "confidence/probability for including "
+ "an annotation at application time. In the case of NER, the confidence "
+ "threshold is applied to the average for the entire entity.")
public void setConfidenceThreshold(Double confidenceThreshold) {
this.confidenceThreshold = confidenceThreshold;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LF_ApplyChunking.java
示例10: setSequenceSpan
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@Optional
@CreoleParameter(comment = "For sequence learners, an annotation type "
+ "defining a meaningful sequence span. Ignored by non-sequence "
+ "learners. Needs to be in the input AS.")
public void setSequenceSpan(String seq) {
sequenceSpan = seq;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LF_ApplyChunking.java
示例11: setAlgorithmParameters
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@Optional
@CreoleParameter(comment = "Some of the learners take parameters. Parameters "
+ "can be entered here. For example, the LibSVM supports parameters.")
public void setAlgorithmParameters(String learnerParams) {
this.algorithmParameters = learnerParams;
algorithmParamtersChanged = true;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LearningFrameworkPRBase.java
示例12: setOutputASName
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@Optional
@CreoleParameter(comment = "If identical to the input AS, existing annotations are updated",
defaultValue = "LearningFramework")
public void setOutputASName(String oasn) {
this.outputASName = oasn;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:8,代码来源:LF_ApplyClassification.java
示例13: setInputASName
import gate.creole.metadata.RunTime; //导入依赖的package包/类
/**
* sets name of the input annotaiton set
*
* @param inputAS
*/
@Optional
@RunTime
@CreoleParameter
public void setInputASName(String inputAS) {
this.inputASName = inputAS;
}
开发者ID:KHP-Informatics,项目名称:ADRApp,代码行数:12,代码来源:ScriptPR.java
示例14: setGenPrefixes
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(
comment = "If prefixes should get generated",
defaultValue = "false")
public void setGenPrefixes(Boolean val) {
genPrefixes = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:8,代码来源:LF_GenFeatures_Affixes.java
示例15: setDocument
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@Override
@Optional
@RunTime
@CreoleParameter(comment = "The document to process")
public void setDocument(Document doc) {
document = doc;
}
开发者ID:KHP-Informatics,项目名称:ADRApp,代码行数:8,代码来源:ScriptPR.java
示例16: setMinPrefixLength
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(
comment = "Minimum number of characters of a prefix to get generated",
defaultValue = "2"
)
public void setMinPrefixLength(Integer val) {
minPrefixLength = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LF_GenFeatures_Affixes.java
示例17: setMaxPrefixLength
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(
comment = "Maximum number of characters of a prefix to get generated",
defaultValue = "4"
)
public void setMaxPrefixLength(Integer val) {
maxPrefixLength = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LF_GenFeatures_Affixes.java
示例18: setMinNonPrefixLength
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(
comment = "Minimum number of non prefix characters that must remain for a prefix to get generated",
defaultValue = "2"
)
public void setMinNonPrefixLength(Integer val) {
minNonPrefixLength = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LF_GenFeatures_Affixes.java
示例19: setGenSuffixes
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(
comment = "If suffixes should get generated",
defaultValue = "false")
public void setGenSuffixes(Boolean val) {
genSuffixes = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:8,代码来源:LF_GenFeatures_Affixes.java
示例20: setSuffixFeatureName
import gate.creole.metadata.RunTime; //导入依赖的package包/类
@RunTime
@CreoleParameter(
comment = "The name pattern to use for the feature names for suffixes",
defaultValue = "suf"
)
public void setSuffixFeatureName(String val) {
suffixFeatureName = val;
}
开发者ID:GateNLP,项目名称:gateplugin-LearningFramework,代码行数:9,代码来源:LF_GenFeatures_Affixes.java
注:本文中的gate.creole.metadata.RunTime类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论