/** * 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 @CreoleParameter(comment="The name of the base 'Token' annotation type", defaultValue="Token") public void setBaseTokenAnnotationType(String baseTokenAnnotationType) { this.baseTokenAnnotationType = baseTokenAnnotationType; }
/** * Sets the value for the {@link #wholeWordsOnly} parameter. * @param wholeWordsOnly a Boolean value. */ @RunTime @CreoleParameter(comment="Should this gazetteer only match whole words?", defaultValue="true") public void setWholeWordsOnly(Boolean wholeWordsOnly) { this.wholeWordsOnly = wholeWordsOnly; }
@RunTime @CreoleParameter(comment="Gazetteer Instance to be used") public void setGazetteerInst(gate.creole.gazetteer.Gazetteer gazetteerInst) { this.gazetteerInst = gazetteerInst; }
@RunTime @CreoleParameter(comment = "If true, the annotations will remain in the inputAS, otherwise they will be removed", defaultValue = "false") public void setCopyAnnotations(Boolean copyAnnotations) { this.copyAnnotations = copyAnnotations; }
@RunTime @CreoleParameter(comment = "If true (default), all annotations are copied/moved if no annotation of the type specified for textTagName is found", defaultValue = "true") public void setTransferAllUnlessFound(Boolean value) { this.transferAllUnlessFound = value; }
@RunTime @CreoleParameter(comment="The name of the base 'Sentence' annotation type", defaultValue="Sentence") public void setBaseSentenceAnnotationType(String baseSentenceAnnotationtype) { this.baseSentenceAnnotationType = baseSentenceAnnotationtype; }
@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; }