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

SubVerb: A class to encapsulate a subject and a verb
and potentially an article an adjective and an adverb.
Edward C. Eberle <eberdeed@eberdeed.net>
06/25/2016 San Diego, California USA

 
Modules
       
postgresql.driver

 
Classes
       
builtins.object
SubVerb

 
class SubVerb(builtins.object)
    Creates a grammatical structure for an English
sentence of the form:
[article] [adjective] subject [adverb] verb.
 
  Methods defined here:
__init__(self, db, art, sub, verb, adj=None, adv=None, capit=True)
Initialize the class global variables.
compose(self)
Compose the construct with the data provided.

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:
adj = None
adv = None
art = None
capit = True
currcommand = ''
db = None
output = ''
sqlcommand = "SELECT DISTINCT conjugation FROM verbs WHERE name='{}' AND tense='{}' AND person='{}';\n"
sub = None
types = <machinetrans.data.wordtype.WordType object>
verb = None