<commit_before>import commands

def getParser(parser_name):
	"""
	Try to instantiate the a parser from the parser_name
	parser_name: The name of the parser to instantiate.
	throws: NameError, if the parser is not found
	returns: A Parser object.
	"""
	try:
		return globals()[parser_name]()
	except KeyError, e:
		raise NameError("The parser '"+parser_name+"' was not found. Is it properly defined in parsers.py? Is it correctly spelled?")

class Parser(object):

	_trigger_parse_character = '/'
<commit_msg>Fix a typo in comment<commit_after>import commands

def getParser(parser_name):
	"""
	Try to instantiate a parser from the parser_name
	parser_name: The name of the parser to instantiate.
	throws: NameError, if the parser is not found
	returns: A Parser object.
	"""
	try:
		return globals()[parser_name]()
	except KeyError, e:
		raise NameError("The parser '"+parser_name+"' was not found. Is it properly defined in parsers.py? Is it correctly spelled?")

class Parser(object):

	_trigger_parse_character = '/'

{'fraction_non_alphanumeric': 0.09411764705882353, 'fraction_numerical': 0.0, 'mean_word_length': 4.936046511627907, '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': '2033934', 'n_tokens_mistral': 329, 'n_tokens_neox': 314, 'n_words': 121}