<commit_before>// main.go
//
// Main source file for Scarlet.
//
package main

import (
	"flag"
	"github.com/simonz05/godis/redis"
	"os"
	"os/signal"
	"syscall"
)

const (
	DefaultListenAddress = ":6380"
	Version = "0.0.4"
)

var (
	ListenAddress = flag.String("a", DefaultListenAddress, "The address Scarlet should listen on.")
	configPath    = flag.String("c", "scarlet.conf.json", "Specify the configuration file")
	debug         = flag.Bool("d", false, "Enable debugging")
	config        *Configuration
	redisClient   *redis.Client
	Database      *ConnectionMap<commit_msg>Bumped the version number to 0.5.0.<commit_after>// main.go
//
// Main source file for Scarlet.
//
package main

import (
	"flag"
	"github.com/simonz05/godis/redis"
	"os"
	"os/signal"
	"syscall"
)

const (
	DefaultListenAddress = ":6380"
	Version = "0.5.0"
)

var (
	ListenAddress = flag.String("a", DefaultListenAddress, "The address Scarlet should listen on.")
	configPath    = flag.String("c", "scarlet.conf.json", "Specify the configuration file")
	debug         = flag.Bool("d", false, "Enable debugging")
	config        *Configuration
	redisClient   *redis.Client
	Database      *ConnectionMap
{'fraction_non_alphanumeric': 0.14030612244897958, 'fraction_numerical': 0.017857142857142856, 'mean_word_length': 3.5444015444015444, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2900262', 'n_tokens_mistral': 418, 'n_tokens_neox': 402, 'n_words': 100}