/** set the annotation set name*/ @RunTime @Optional @CreoleParameter(comment="Annotation set name where are the annotation types (annotationTypes)") public void setAnnotationSetName(String newAnnotationSetName) { annotationSetName = newAnnotationSetName; }//setAnnotationSetName
@CreoleResource(name = "Measurements", icon = "measurements", comment = "Ready-made application for measurement annotator", autoinstances = @AutoInstance(parameters = { @AutoInstanceParam(name="pipelineURL", value="resources/measurements.xgapp"), @AutoInstanceParam(name="menu", value="Measurements")})) public class MeasurementsApplication extends PackagedController { }
@RunTime @Optional @CreoleParameter(comment="The annotation set to be used as input that must contain 'Token' annotations") public void setInputASName(String newInputASName) { inputASName = newInputASName; }
@RunTime @Optional @CreoleParameter(comment="The annotation set to be used as output for 'Sentence' and 'Split' annotations") public void setOutputASName(String newOutputASName) { outputASName = newOutputASName; } public String getOutputASName() {
@RunTime @Optional @CreoleParameter( comment = "Should all Tokens be POS tagged or just those within baseSentenceAnnotationType?", defaultValue = "true") public void setPosTagAllTokens(Boolean allTokens) { posTagAllTokens = allTokens; } public Boolean getPosTagAllTokens() {
/** * Sets the name of annotation set that should be used for storing new * annotations * * @param outputASName */ @RunTime @Optional @CreoleParameter(comment="The annotation set to be used for the generated annotations") public void setOutputASName(String outputASName) { this.outputASName = outputASName; }
@RunTime @Optional @CreoleParameter(defaultValue="Person;Location;Date", comment="A list of the new names to be used instead of the ANNIE types given for dumping") public void setDumpTypes(List<String> newTypes) { dumpTypes = newTypes; }
@RunTime @Optional @CreoleParameter(comment="The name of the annotation set used for output") public void setOutputASName(String newOutputASName) { outputASName = newOutputASName; }
@RunTime @Optional @CreoleParameter(comment = "Throw an exception when there are none of the required input annotations (Token) are present in the input set", defaultValue = "true") public void setFailOnMissingInputAnnotations(Boolean fail) { failOnMissingInputAnnotations = fail; }
@RunTime @Optional @CreoleParameter(comment="The annotation set to be used as output for POS annotations") public void setOutputASName(String outputASName) { this.outputASName = outputASName; }
/** * Sets the key annotation set name */ @RunTime @Optional @CreoleParameter(defaultValue = "Key") public void setKeyASName(String keyASName) { this.keyASName = keyASName; }
@RunTime @Optional @CreoleParameter(comment="The annotation type that contains the annotations to transfer") public void setTextTagName(String newTextTagName) { textTagName = newTextTagName; }
@RunTime @Optional @CreoleParameter(comment = "The name for annotation set used as input to the tagger") public void setInputASName(String inputASName) { this.inputASName = inputASName; }
@RunTime @Optional @CreoleParameter(comment = "The name for annotation set used for the generated annotations") public void setOutputASName(String outputASName) { this.outputASName = outputASName; }
/** * @param outputASName the outputASName to set */ @RunTime @Optional @CreoleParameter(comment="The annotation set to be used as output for 'Sentence' and 'Split' annotations") public void setOutputASName(String outputASName) { this.outputASName = outputASName; }
@RunTime @Optional @CreoleParameter(comment="The annotation types to delete otherwise delete all") public void setAnnotationTypes(List<String> newTypes) { annotationTypes = newTypes; }
@RunTime @Optional @CreoleParameter(comment="The annotation set to be used for the generated annotations") public void setAnnotationSetName(String annotationSetName) { this.annotationSetName = annotationSetName; } public String getAnnotationSetName() {
@RunTime @Optional @CreoleParameter(comment="The url of the output directory. If not provided, use the temporary directory.", suffixes="xml;html;txt") public void setOutputDirectoryUrl(URL file) { this.outputDirectoryUrl = file; }
@RunTime @Optional @CreoleParameter(comment = "The name for annotation set used as input to " + "the exporter.") public void setInputASName(String iasn) { this.inputASName = iasn; }
@RunTime @Optional @CreoleParameter(comment = "The annotation type to be treated as instance. " + "Leave blank to use document as instance.") public void setInstanceName(String inst) { this.instanceName = inst; }