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

Currently not being used.
ModalInf: A class to encapsulate a modal verb + an infinitive
and potentially an article an adjective and an adverb.
Edward C. Eberle <eberdeed@eberdeed.net>
06/25/2016 San Diego, California USA

 
Classes
       
builtins.object
ModalInf

 
class ModalInf(builtins.object)
    Currently not being used.
Creates a grammatical structure for an English
sentence of the form:
[article] [adjective] subject modal verb [adverb] verb.
 
  Methods defined here:
__init__(self, db, art, sub, modal, verb, adj=None, adv=None)
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
currcommand = ''
db = None
modal = None
output = ''
sqlcommand = "SELECT conjugation FROM verbs WHERE name='{}' AND variety='modal' AND tense='{}' AND person='{}';\n"
sub = None
verb = None