interrog
index
/home/eberdeed/machinetrans-1.13/machinetrans/parser/interrog.py

Interrog: A class to encapsulate an interrogative + verb construct.
and potentially an adverb.
Edward C. Eberle <eberdeed@eberdeed.net>
06/25/2016 San Diego, California USA

 
Classes
       
builtins.object
Interrog

 
class Interrog(builtins.object)
    Creates a grammatical structure for an English
sentence of the form:
interrog [adverb] verb.
 
  Methods defined here:
__init__(self, db, interrog, verb, adv=None)
Initialize the data.
compose(self)
Compose the construct.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
adv = None
currcommand = ''
db = None
interrog = None
output = ''
sqlcommand = "SELECT conjugation FROM verbs WHERE name='{}' AND tense='{}' AND person='third';\n"
verb = None