Пример #1
0
 def does_verb(self, the_verb, **kwargs):
     if self == this_thread.user:
         tense = 1
     else:
         tense = 3
     if ('past' in kwargs and kwargs['past'] == True) or ('present' in kwargs and kwargs['present'] == False):
         return verb_past(the_verb, person=tense)
     else:
         return verb_present(the_verb, person=tense)
Пример #2
0
 def does_verb(self, the_verb, **kwargs):
     if self == this_thread.user:
         tense = 1
     else:
         tense = 3
     if ('past' in kwargs and kwargs['past'] == True) or (
             'present' in kwargs and kwargs['present'] == False):
         return verb_past(the_verb, person=tense)
     else:
         return verb_present(the_verb, person=tense)
Пример #3
0
 def does_verb(self, the_verb, **kwargs):
     if not self.gathering:
         self.gathered
     if len(self.elements) > 1:
         tense = 'plural'
     else:
         tense = 3
     if ('past' in kwargs and kwargs['past'] == True) or ('present' in kwargs and kwargs['present'] == False):
         return verb_past(the_verb, person=tense)
     else:
         return verb_present(the_verb, person=tense)
Пример #4
0
 def does_verb(self, the_verb, **kwargs):
     """Given a verb like "eat," returns "eat" or "eats"
     depending on whether the person is the user."""
     if self == this_thread.user:
         tense = 1
     else:
         tense = 3
     if ('past' in kwargs and kwargs['past'] == True) or ('present' in kwargs and kwargs['present'] == False):
         return verb_past(the_verb, person=tense)
     else:
         return verb_present(the_verb, person=tense)
Пример #5
0
 def does_verb(self, the_verb, **kwargs):
     if not self.gathering:
         self.gathered
     if len(self.elements) > 1:
         tense = 'plural'
     else:
         tense = 3
     if ('past' in kwargs and kwargs['past'] == True) or (
             'present' in kwargs and kwargs['present'] == False):
         return verb_past(the_verb, person=tense)
     else:
         return verb_present(the_verb, person=tense)
Пример #6
0
 def does_verb(self, the_verb, **kwargs):
     """Given a verb like "eat," returns "eat" or "eats"
     depending on whether the person is the user."""
     if self == this_thread.user:
         tense = 1
     else:
         tense = 3
     if ('past' in kwargs and kwargs['past'] == True) or (
             'present' in kwargs and kwargs['present'] == False):
         return verb_past(the_verb, person=tense)
     else:
         return verb_present(the_verb, person=tense)
Пример #7
0
 def does_verb(self, the_verb, **kwargs):
     """Returns the appropriate conjugation of the given verb depending on whether
     there is only one element in the list or multiple elements.  E.g.,
     case.plaintiff.does_verb('sue') will return "sues" if there is one plaintiff
     and "sue" if there is more than one plaintiff."""
     if not self.gathering:
         self.gathered
     if len(self.elements) > 1:
         tense = 'plural'
     else:
         tense = 3
     if ('past' in kwargs and kwargs['past'] == True) or ('present' in kwargs and kwargs['present'] == False):
         return verb_past(the_verb, person=tense)
     else:
         return verb_present(the_verb, person=tense)
Пример #8
0
 def does_verb(self, the_verb, **kwargs):
     """Returns the appropriate conjugation of the given verb depending on
     whether there is only one key in the dictionary or multiple
     keys.  E.g., player.does_verb('finish') will return "finishes" if there
     is one player and "finish" if there is more than one
     player."""
     if not self.gathering:
         self.gathered
     if len(self.elements) > 1:
         tense = 'plural'
     else:
         tense = 3
     if ('past' in kwargs and kwargs['past'] == True) or ('present' in kwargs and kwargs['present'] == False):
         return verb_past(the_verb, person=tense)
     else:
         return verb_present(the_verb, person=tense)