http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4902
Summary: Make TextCat.pm options configuration options
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Plugins
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
There are several options in TextCat.pm that are options but require a code
change to adjust. It would be handy if they became configuration options:
# TextCat settings
my $opt_a = 10;
my $opt_f = 0;
my $opt_t = 400;
my $opt_u = 1.05;
# $opt_a If the number of languages to be returned by &classify is larger
# than the value of $opt_a then an empty list is returned signifying
# that the language is unknown.
#
# $opt_f Before sorting is performed, the ngrams which occur $opt_f times
# or less are removed. This can be used to speed up the program for
# longer inputs. For shorter inputs, this should be set to 0.
#
# $opt_t This option indicates the maximum number of ngrams that should be
# compared with each of the language models (note that each of those
# models is used completely).
#
# $opt_u &classify returns a list of the best-scoring language together with
# all languages which are less than $opt_u times worse. Typical
# values are 1.05 or 1.1.
I would also like to get this into 3.1.X at some point.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.