<commit_before>// ***************** IMPORTANT *****************
// Please note that if you add a new keyword,
// please create the necessary service and make
// adjustments in this file
//
//	1.	add new Keyword
//	2.	define construction and deconstruction
//		pattern for QuarantinedObject
//	3. 	create new service with the name of your
//		new Keyword. There must be at least one
// 		method (update) which takes over the
//		execution of the entry (jobs). You should
//		also create a create method, which can
//		create a new entry.
//	4.	register the route for your new service,
//		it must follow this scheme:
//		/activation/${KEYWORDS.YOUR_NEW_KEYWORD}
// ***************** IMPORTANT *****************

/**
 * valid Keywords and services
 */
const KEYWORDS = {
	E_MAIL_ADDRESS: 'eMailAddress',
};

/**
 * Construct QuarantinedObject from payload for db
 * @param {String} keyword	keyword
 * @param {*} payload 		data to save as QuarantinedObject in db
 * @returns {Object}		QuarantinedObject
 */<commit_msg>Update customUtils.js<commit_after>// ***************** IMPORTANT *****************
// Please note that if you add a new keyword,
// please create the necessary service and make
// adjustments in this file
//
//	1.	add new Keyword
//	2.	define construction and deconstruction
//		pattern for QuarantinedObject
//	3. 	create new service with the name of your
//		new Keyword. There must be at least one
// 		method (update) which takes over the
//		execution of the entry (jobs). You should
//		also create a create method, which can
//		create a new entry.
//	4.	register the route for your new service,
//		it must follow this scheme:
//		/activation/${KEYWORDS.YOUR_NEW_KEYWORD}
//	5.	please complement the tests
//	6.	done :)
// ***************** IMPORTANT *****************

/**
 * valid Keywords and services
 */
const KEYWORDS = {
	E_MAIL_ADDRESS: 'eMailAddress',
};

/**
 * Construct QuarantinedObject from payload for db
 * @param {String} keyword	keyword
 * @param {*} payload 		data to save as QuarantinedObject in db
 * @returns {Object}		QuarantinedObject
 */
{'fraction_non_alphanumeric': 0.15867689357622244, 'fraction_numerical': 0.004793863854266539, 'mean_word_length': 3.4309978768577496, 'pattern_counts': {'":': 0, '<': 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': '4895205', 'n_tokens_mistral': 644, 'n_tokens_neox': 624, 'n_words': 248}