@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(); }
@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; }
@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() {
@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="List of annotation types for non animated entities", defaultValue="Organization;Location") public void setInanimatedEntityTypes(String inanimatedEntityTypes) { this.pronominalModule.setInanimatedEntityTypes(inanimatedEntityTypes); }