📄 selectd.8
字号:
.\"Generated by db2man.xsl. Don't modify this, modify the source..de Sh \" Subsection.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Ip \" List item.br.ie \\n(.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...TH "SELECTD" 8 "" "" "".SH NAMEselectd \- email classification daemon.SH "SYNOPSIS".nf\fBselectd\fR [\fB-a \fIaddress\fR\fR] [\fB-f \fIconfigfile\fR\fR].fi.SH "DESCRIPTION".PPTo be written\&..SH "COMMAND LINE OPTIONS".TP\fB-a\fR or \fB--address\fRSelects socket address to use\&.This overrides the value given in the configuration file\&..TP\fB-f\fR or \fB--conf-file\fRSelects which configuration file to use\&.Default value is \fI$HOME/\&.select/selectd\&.conf\fR\&..SH "CONFIGURATION".PPConfiguration options for selectd is given in a file\&. The default name of this file is \fI$HOME/\&.select/selectd\&.conf\fR\&..SS "Location options".PPOptions describing location of directories etc\&..TP"address".PPSpecifies the daemon address\&. Addresses beginning with the character @ are interpreted as abstract addresses, otherwise they are filename addresses\&. Default value is @my_select_classifier\&. .nfaddress # Default addressaddress qwerty # Use the specified address.fi .TP"data_dir".PPData directory\&. Indicates which directory database files are stored in\&. Default value is to not save databases\&. .nfdata_dir # Default: Don't save databasesdata_dir /home/mikael/\&.select # Use the specified directory.fi .TP"share_dir".PPShare directory\&. Indicates which directory language files are stored in\&. Default value is \fI/usr/local/share/select\fR\&. .nfshare_dir # Default: /usr/local/share/selectshare_dir share # Use the specified directory.fi .TP"plugin_dir".PPPlugin directory\&. Indicates which directory classifiers and stemmers are stored in\&. Default value is \fI/usr/local/lib/select\fR\&. .nfplugin_dir # Default: /usr/local/lib/selectplugin_dir plugins # Use the specified directory.fi .SS "Language options".PPOptions describing language handling\&..TP"language".PPSpecifies a language\&. May be present several times\&. The first presence sets the default language\&. Default value is no languages\&..PPA language is specified by its name followed by a default locale string\&. The name must be the same as is used by its stopwords and stemmer\&. The stopwords and stemmers distibuted with Select use the language codes specified in ISO 639 as names\&. If you use a custom stopword list (for example for several languages) a new name should be invented for it\&. .nflanguage # No languageslanguage en C # Englishlanguage sv sv_SE # Swedishlanguage sven sv_SE # Swenglish.fi .TP"identifier".PPLanguage identification\&. Default value is off\&. .nfidentifier on # Use language identificationidentifier off # Don't use language identification.fi .TP"stemming".PPStemming\&. Default value is off\&. .nfstemming on # Perform stemming for chosen languagesstemming off # Don't perform stemming.fi .TP"stopwords".PPStopwords\&. Default value is off\&. .nfstopwords on # Use stopwords for chosen languagesstopwords off # Don't use any stopwords.fi .SS "Classifier Options".PPClassifiers are configured in special classifier sections in the configuration file\&. A classifier selection is started by a line like this: .IP.nf[classifier].fi There may be several classifiers specified\&..TP"name".PPClassifier name\&. No default value\&. .nfname Henry # Call the classifier Henry.fi .TP"classifier".PPClassifier algorithm\&. No default value\&. .nf# Multi classifiersclassifier Alma # Alma classifierclassifier NaiveBayes # Naive bayes classifierclassifier Perceptron # Perceptron classifierclassifier Rocchio # Rocchio classifierclassifier Romma # Romma classifierclassifier WidrowHoff # Widrow-Hoff (LMS) classifierclassifier WMA # Weighted Majority Algorithm# Document classifiersclassifier From # Sender classifierclassifier Reply # Thread classifier.fi .TP"type".PPClassifier type\&. No default value\&. .nftype multi_one # Multi classifier, type ONE_MAXtype multi_rest # Multi classifier, type REST_MAXtype multi_linmax # Multi classifier, type LIN_MAXtype multi_uc # Multi classifier, type UC_MAXtype document # Document classifier.fi .TP"options".PPClassifier options\&. A string which is passed on to the classifier for interpretation\&. Is used for changing the behavior of the classifier\&. The string consists of a comma-separated list of entries of the form key=value\&. Valid keys and values depends on the classifier\&. Default value is none\&. .nfoptions # No optionsoptions n=200,o=fifo # Classifier dependent options.fi .TP"tokenizer".PPTokenizer\&. Specifies which method is used for transforming texts into text-tokens\&. Default value is alpha\&. .nftokenizer alpha # Alpha tokenizertokenizer wspace\&.byte # Whitespace byte tokenizertokenizer ngram\&.byte # N-gram byte tokenizertokenizer null # Null tokenizer.fi .TP"vectorizer".PPVectorization mode\&. Specifies which method is used for transforming text-tokens into a vector\&. Default value is tf\&. .nfvectorizer bool # Booleanvectorizer tf # Term Frequencyvectorizer tfidf # TF-IDF.fi .TP"normalizer".PPNormalization mode\&. Specifies how vectors should be normalized\&. Default value is none\&. .nfnormalizer # No normalizationnormalizer cosine # Cosine normalization.fi .SS "Example".PPHere is a complete example of a selectd configuration file:.IP.nf.nfaddress # Use default addressdata_dir /home/mikael/\&.select # Save databases in specified directoryshare_dir # Default: /usr/local/share/selectplugin_dir # Default: /usr/local/lib/selectlanguage sven sv_SE # Swenglishidentifier off # Don't use language identificationstemming off # Don't perform stemmingstopwords on # Use stopwords for chosen languages[classifier]name nb # Name the classifier nbclassifier NaiveBayes # NaiveBayes classifiertype multi_one # Multi classifier, type ONE_MAXoptions # No optionstokenizer alpha # Alpha tokenizervectorizer tfidf # TF-IDF vectorizernormalizer # No normalization.fi.fi.SH "AUTHOR".PPMikael Ylikoski <my@post\&.utfors\&.se>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -