File size: 1,023 Bytes
a3864e2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | from adjectives import Adjectives
from adverbs import Adverbs
from conjunctions import Conjunctions
from nouns import Nouns
from prepositions import Prepositions
from pronouns import Pronouns
from verbs import Verbs
class SentenceBuilder:
def __init__(self):
self.adjectives = Adjectives()
self.adverbs = Adverbs()
self.conjunctions = Conjunctions()
self.nouns = Nouns()
self.prepositions = Prepositions()
self.pronouns = Pronouns()
self.verbs = Verbs()
def get_adjectives(self):
return self.adjectives.get_data()
def get_adverbs(self):
return self.adverbs.get_data()
def get_conjunctions(self):
return self.conjunctions.get_data()
def get_nouns(self):
return self.nouns.get_data()
def get_prepositions(self):
return self.prepositions.get_data()
def get_pronouns(self):
return self.pronouns.get_data()
def get_verbs(self):
return self.verbs.get_data() |