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

Compare: A class to encapsulate a subject and a comparative verb.
and optionally with 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
Compare

 
class Compare(builtins.object)
    Creates a grammatical structure for an English
sentence of the form:
[article] subject [comparative adjective].
 
  Methods defined here:
__init__(self, db, art, sub, comp, 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:
art = None
capit = True
comp = None
db = None
output = ''
sub = None
tobe = {'first': 'am', 'plural first': 'are', 'plural second': 'are', 'plural third': 'are', 'second': 'are', 'third': 'is'}
verb = ''