/** * Annotation types for which the stats should be calculated */ @RunTime @CreoleParameter public void setAnnotationTypes(List<String> annotationTypes) { this.annotationTypes = annotationTypes; }
/** * URL of the folder to store output files into */ @RunTime @CreoleParameter(suffixes = "html") public void setOutputFolderUrl(URL outputFolderUrl) { this.outputFolderUrl = outputFolderUrl; } }
@RunTime @CreoleParameter(defaultValue = "false") public void setEnableDebugging(Boolean enableDebugging) { this.enableDebugging = enableDebugging; }
/** * @param longestMatchOnly the longestMatchOnly to set */ @RunTime @CreoleParameter(comment="Should this gazetteer only match the longest string starting from any offset?", defaultValue="true") public void setLongestMatchOnly(Boolean longestMatchOnly) { this.longestMatchOnly = longestMatchOnly; }
@RunTime @CreoleParameter(defaultValue="Person;Location;Date") public void setAnnotationTypes(List<String> newTypes) { this.annotationTypes = newTypes; }
@RunTime @Optional @CreoleParameter(comment="The annotation sets to keep otherwise delete all", defaultValue="Key") public void setSetsToKeep(List<String> newSetNames) { //we need to modify this list sometimes, so to make sure it's not some //unmodifiable version, we'll create our own setsToKeep = newSetNames != null ? new ArrayList<String>(newSetNames): new ArrayList<String>(); }
@RunTime @Optional @CreoleParameter(comment="The name of the annotation set that contains textTagName") public void setTagASName(String newTagASName) { // if given an empty string, set to the default set if("".equals(newTagASName)) tagASName = null; else tagASName = newTagASName; }
/** 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
@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; }
/** * @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 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; }