@Optional @CreoleParameter(comment="Annotation name for the organizations", defaultValue="Organization") public void setOrganizationType(String newOrganizationType) { organizationType = newOrganizationType; }//setOrganizationType
@Optional @CreoleParameter(defaultValue="resources/sentenceSplitter/grammar/main-single-nl.jape", comment="The URL to the custom Jape grammar file", suffixes="jape") public void setTransducerURL(ResourceReference newTransducerURL) { transducerURL = newTransducerURL; }
@Optional @CreoleParameter(comment="The URL to the ruleset file", defaultValue="resources/heptag/ruleset") public void setRulesURL(ResourceReference newRulesURL) { this.rulesURL = newRulesURL; }
@Optional @CreoleParameter(comment="The encoding used for reading rules and lexicons") public void setEncoding(String encoding) { this.encoding = encoding; }
@Optional @CreoleParameter(comment="Annotation name for the persons", defaultValue="Person") public void setPersonType(String newPersonType) { personType = newPersonType; }//setPersonType
/** * Sets the list of class names for any custom * {@link gate.jape.constraint.AnnotationAccessor}s. */ @Optional @CreoleParameter( comment = "Class names that implement gate.jape.constraint.AnnotationAccessor." ) public void setAnnotationAccessors(List<String> annotationAccessors) { this.annotationAccessors = annotationAccessors; }
@Optional @CreoleParameter(comment="Whether to export to stand-off XML rather than inline annotations", defaultValue="false") public void setUseStandOffXML(Boolean newValue) { if (newValue != null) useStandOffXML = newValue.booleanValue(); }
@Optional @CreoleParameter(comment="Whether or not to use a suffix for the dump files", defaultValue="true") public void setUseSuffixForDumpFiles(Boolean useOrNot) { if (useOrNot != null) this.useSuffixForDumpFiles = useOrNot.booleanValue(); }
@Optional @CreoleParameter(comment = "A file of common words that should not be treated as units unless they are part of a compound unit", defaultValue = "resources/common_words.txt") public void setCommonURL(ResourceReference gazURL) { this.commonURL = gazURL; }
/** * @param highPrecisionOrgs the highPrecisionOrgs to set */ @Optional @CreoleParameter(comment="Use very safe features for matching orgs, such as ACME = ACME, Inc.", defaultValue="false") public void setHighPrecisionOrgs(Boolean highPrecisionOrgs) { this.highPrecisionOrgs = highPrecisionOrgs; }
@Optional @CreoleParameter(comment="The suffix used for files, if suffix adding is set to true", defaultValue=".gate") public void setSuffixForDumpFiles(String newSuffix) { this.suffixForDumpFiles = newSuffix; }
@Optional @CreoleParameter(defaultValue="Token") public void setTokenType(String newTokenType) { if (newTokenType != null && ! newTokenType.equals("")) tokenType = newTokenType; }
/** set the extLists flag */ @Optional @CreoleParameter(comment="External lists otherwise internal", defaultValue="true") public void setExtLists(Boolean newExtLists) { extLists = newExtLists.booleanValue(); }//setextLists
@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; }
/** 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; }