def getEnglishVerbForm(theVerb,thePerson,theTense): verb = theVerb tenseObject = EnglishTense.objects.get(name=theTense) table = EnglishTable.objects.filter(conjugation=verb.conjugation).get(tense=tenseObject) tableWord = verbs.makeVerbTableArray(table)[thePerson] actualWord = verbs.processVerb(verb,tableWord) return actualWord
def getEnglishVerbForm(theVerb, thePerson, theTense): verb = theVerb tenseObject = EnglishTense.objects.get(name=theTense) table = EnglishTable.objects.filter(conjugation=verb.conjugation).get(tense=tenseObject) tableWord = verbs.makeVerbTableArray(table)[thePerson] actualWord = verbs.processVerb(verb, tableWord) return actualWord
def getLatinVerbForm(theVerb, thePerson, theTense): # thenoun is the actual VERB object verb = theVerb tenseObject = LatinTense.objects.get(name=theTense) table = LatinTable.objects.filter(conjugation=verb.conjugation).get(tense=tenseObject) tableWord = verbs.makeVerbTableArray(table)[thePerson] actualWord = verbs.processVerb(verb, tableWord) return actualWord
def getLatinVerbForm(theVerb, thePerson, theTense): #thenoun is the actual VERB object verb = theVerb tenseObject = LatinTense.objects.get(name=theTense) table = LatinTable.objects.filter(conjugation=verb.conjugation).get( tense=tenseObject) tableWord = verbs.makeVerbTableArray(table)[thePerson] actualWord = verbs.processVerb(verb, tableWord) return actualWord