<commit_before>// Copyright (c) 2014-2015 <NAME>. All rights reserved.

package common

import (
	utils "github.com/iMax-pp/go-utils"
)

const (
	APP_PROPS_FILE = "application.properties"
)

var props map[string]string

// Init Application properties
func init() {
	props, _ = utils.LoadConfig(APP_PROPS_FILE)
}

func Props() map[string]string {
	return props
}<commit_msg>fix: init properties before everything else<commit_after>// Copyright (c) 2014-2015 <NAME>. All rights reserved.

package common

import (
	utils "github.com/iMax-pp/go-utils"
)

const (
	APP_PROPS_FILE = "application.properties"
)

var props = initProps()

// Init Application properties
func initProps() map[string]string {
	properties, _ := utils.LoadConfig(APP_PROPS_FILE)
	return properties
}

func Props() map[string]string {
	return props
}
{'fraction_non_alphanumeric': 0.11829268292682926, 'fraction_numerical': 0.01951219512195122, 'mean_word_length': 4.741258741258742, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5679187', 'n_tokens_mistral': 286, 'n_tokens_neox': 272, 'n_words': 70}