Esempio n. 1
0
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
Esempio n. 2
0
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
Esempio n. 3
0
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
Esempio n. 4
0
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