Ejemplo n.º 1
0
 def did_verb(self, the_verb, **kwargs):
     """Like does_verb(), except uses the past tense of the verb."""
     if self == this_thread.user:
         tense = 1
     else:
         tense = 3
     return verb_past(the_verb, person=tense)
Ejemplo n.º 2
0
 def did_verb(self, the_verb, **kwargs):
     """Like does_verb(), except uses the past tense of the verb."""
     if self == this_thread.user:
         tense = 1
     else:
         tense = 3
     return verb_past(the_verb, person=tense)
Ejemplo n.º 3
0
 def did_verb(self, the_verb, **kwargs):
     if not self.gathering:
         self.gathered
     if len(self.elements) > 1:
         tense = 'plural'
     else:
         tense = 3
     return verb_past(the_verb, person=tense)
Ejemplo n.º 4
0
 def did_verb(self, the_verb, **kwargs):
     if not self.gathering:
         self.gathered
     if len(self.elements) > 1:
         tense = 'plural'
     else:
         tense = 3
     return verb_past(the_verb, person=tense)
Ejemplo n.º 5
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)
Ejemplo n.º 6
0
 def did_verb(self, the_verb, **kwargs):
     """Like does_verb(), except it returns the past tense of the verb."""        
     if not self.gathering:
         self.gathered
     if len(self.elements) > 1:
         tense = 'plural'
     else:
         tense = 3
     return verb_past(the_verb, person=tense)
Ejemplo n.º 7
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)
Ejemplo n.º 8
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)
Ejemplo n.º 9
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)
Ejemplo n.º 10
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)
Ejemplo n.º 11
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)
Ejemplo n.º 12
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)
Ejemplo n.º 13
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)
Ejemplo n.º 14
0
 def did_verb(self, the_verb, **kwargs):
     if self == this_thread.user:
         tense = 1
     else:
         tense = 3
     return verb_past(the_verb, person=tense)
Ejemplo n.º 15
0
 def did_verb(self, the_verb, **kwargs):
     if self == this_thread.user:
         tense = 1
     else:
         tense = 3
     return verb_past(the_verb, person=tense)