class BaseFile():
	def __init__(self):
		raise NotImplementedError()

	def write():
		self

class Text(BaseFile):
	def __init__(self, text):
		self._text = text
	def get_wfreq(self):
		pass
	def get_idngram(self):
		pass

class Wfreq(BaseFile):
	def __init__(self, wfreq)
		pass
	def get_vocab(self)
		pass

class Vocab(BaseFile):
	def __init__(self.)
		pass

class Idngram(BaseFile):
	def __init__(self,)
		pass
	@classmethod
	def merge(self, *idngrams)
		pass

class LanguageModel():
	

