Skip to content

Commit

Permalink
remove commented options
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Dec 20, 2023
1 parent c90e259 commit 5fffcf4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@ type options struct {
SamplesDataPath string `long:"samples" env:"SAMPLES" default:"data" description:"samples data path"`
DynamicDataPath string `long:"dynamic" env:"DYNAMIC" default:"data" description:"dynamic data path"`
WatchInterval time.Duration `long:"watch-interval" env:"WATCH_INTERVAL" default:"5s" description:"watch interval for dynamic files"`
//
// Data string `long:"data" env:"DATA" default:"data/tg-spam.db" description:"data db file"`
// SamplesSpamFile string `long:"samples-spam" env:"SAMPLES_SPAM" default:"data/spam-samples.txt" description:"spam samples"`
// SamplesHamFile string `long:"samples-ham" env:"SAMPLES_HAM" default:"data/ham-samples.txt" description:"ham samples"`
// ExcludeTokenFile string `long:"exclude-tokens" env:"EXCLUDE_TOKENS" default:"data/exclude-tokens.txt" description:"exclude tokens file"`
// StopWordsFile string `long:"stop-words" env:"STOP_WORDS" default:"data/stop-words.txt" description:"stop words file"`
// DynamicSpamFile string `long:"dynamic-spam" env:"DYNAMIC_SPAM" default:"data/spam-dynamic.txt" description:"dynamic spam file"`
// DynamicHamFile string `long:"dynamic-ham" env:"DYNAMIC_HAM" default:"data/ham-dynamic.txt" description:"dynamic ham file"`
} `group:"files" namespace:"files" env-namespace:"FILES"`

SimilarityThreshold float64 `long:"similarity-threshold" env:"SIMILARITY_THRESHOLD" default:"0.5" description:"spam threshold"`
Expand Down

0 comments on commit 5fffcf4

Please sign in to comment.