<commit_before>__author__ = "<NAME>"
__copyright__ = "Copyright 2015, Plymouth University "
__credits__ = ["<NAME>"]
__license__ = "GPL"
__version__ = "0.0.1"
__maintainer__ = "<NAME>"
__email__ = "<EMAIL>"
__status__ = "Production"


class schema(object):
	def __init__(self, string = '', alphabet=[]):
		self.string = string
		self.alphabet = alphabet
	
	def get_length(self):
		return len(self.string)	


	def get_anti_order(self):
		return self.string.count('*')


	def get_order(self)
		return self.get_length() - self.get_anti_order()
	

 <commit_msg>added more function to the schema class<commit_after>__author__ = "<NAME>"
__copyright__ = "Copyright 2015, Plymouth University "
__credits__ = ["<NAME>"]
__license__ = "GPL"
__version__ = "0.0.1"
__maintainer__ = "<NAME>"
__email__ = "<EMAIL>"
__status__ = "Production"


class schema(object):

	def __init__(self, string = '', alphabet=[]):
		self.string = string
		self.alphabet = alphabet

	def __str__(self):
		return self.string

	def __repr__(self):
		return "Schema: + " self.string

	
	def get_length(self):
		return len(self.string)	


	def get_anti_order(self):
		return self.string.count('*')


	def get_def_length(self):
		#TODO write this.
		return -1			

	def get_order(self):
		return self.get_length() - self.get_anti_order()

	def set_string(self,string):
		self.string = string 

		


class schemata(self,schemata=[],alphabet=[])

	
	def expansion(self):
		
		


 
{'fraction_non_alphanumeric': 0.14166666666666666, 'fraction_numerical': 0.010416666666666666, 'mean_word_length': 4.458333333333333, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '279625', 'n_tokens_mistral': 567, 'n_tokens_neox': 493, 'n_words': 114}