#test corpus designed for cis530 spring 2008 assignment II
#The four sentences in the pool are assumed to be translated form a German Sentence
#Fuer meinen Geschmack sprechen und lachen sie viel zuviel.

class sentpool:
	"""This class contains the pool of sentences: 'sample1', 'sample2', 'sample3' and 'sample4'
	To load each sentece, call the classmethod sentpool.words(sample_name);
	To load all the sentences, call the classmethod sentpool.sents()"""
	samples={\
	'sample1':'They talk and laugh a great deal too much for me .',\
	'sample2':'For my taste speak and laugh they much too much .',\
	'sample3':'For me talk they and laugh a great deal too much .',\
	'sample4':'They speak and laugh much too much for my taste .'}
	
	@classmethod
	def words(cls, sample_name):
		try:
			return cls.samples[sample_name].split(' ')
		except:
			print "There are only four sentences in this pool: \
		'sample1', 'sample2', 'sample3', and 'sample4'. \
		Please pass one of these names into the sentpool.words method." 

	@classmethod
	def sents(cls):
		return [sent.split(' ') for sent in cls.samples.values()]
		
