/** * @param nonSplitListURL the nonSplitListURL to set */ @CreoleParameter(defaultValue="resources/regex-splitter/non-split-patterns.txt", comment="The URL to the non splits pattern list", suffixes="txt") public void setNonSplitListURL(ResourceReference nonSplitListURL) { this.nonSplitListURL = nonSplitListURL; }
@CreoleParameter(comment="The encoding used for reading the definition files", defaultValue="UTF-8") public void setEncoding(String newEncoding) { encoding = newEncoding; } public String getEncoding() {
/** * Sets the value of the <code>rulesURL</code> property which holds an URL * to the file containing the rules for this tokeniser. * @param newRulesURL */ @CreoleParameter(defaultValue="resources/tokeniser/DefaultTokeniser.rules", comment="The URL to the rules file", suffixes="rules") public void setRulesURL(ResourceReference newRulesURL) { rulesURL = newRulesURL; }
@Override @CreoleParameter(comment="Should this gazetteer diferentiate on case?", defaultValue="true") public void setCaseSensitive(Boolean newCaseSensitive) { caseSensitive = newCaseSensitive; }
@CreoleParameter(comment="The encoding used for reading the definition file", defaultValue="UTF-8") public void setEncoding(String encoding) { this.encoding = encoding; } public String getEncoding() {
@Override @CreoleParameter(comment="The encoding used for reading the definitions", defaultValue="UTF-8") public void setEncoding(String newEncoding) { encoding = newEncoding; }
/** * Sets the caseSensitive value, that is used to tell parser if it should * convert document to lowercase before parsing */ @CreoleParameter(comment="If parser should be converted to lowercase first", defaultValue="false") public void setCaseSensitive(java.lang.Boolean value) { this.caseSensitive = value; }
@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(); }
/** * 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; } }
@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; }
@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; }
@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; }