actionDictionaryobjectspelling.t[364]

Action Dictionary. This is a lookup table that we generate during preinit from the vocabulary words associated with 'predicate' grammar rules. We map each vocabulary word to the Action objects it's associated with.

The standard dictionary contains all of these words as well, but it maps them all to the generic 'predicate' GrammarProd object. That doesn't help us identify which words are associated with which actions. That information is sometimes needed, such as during spelling correction.

Note that the system library file gramprod.t must be included in the build, so that GrammarAltInfo is defined.

actionDictionary :   PreinitObject

Superclass Tree   (in declaration order)

actionDictionary
        PreinitObject
                ModuleExecObject
                        object

Summary of Properties  

wordToAction  xwords 

Inherited from PreinitObject :
execBeforeMe  reverseGlobalSymbols 

Inherited from ModuleExecObject :
execAfterMe  hasInitialized_  isDoingExec_  isExecuted_ 

Summary of Methods  

execute 

Inherited from ModuleExecObject :
_execute  classExec 

Properties  

wordToActionspelling.t[412]

word-to-action table: this maps each vocabulary word to a list of the Action objects associated with the grammar rules in which it appears

xwordsspelling.t[421]
Associated word table: this maps each vocabulary word to a list of all of the other words that appear in predicate grammar rules in which the given word appears. For example, 'up' will have a list like [pick, go, look], since it's used in rules for 'pick up', 'go up', 'look up'.

Methods  

execute ( )OVERRIDDENspelling.t[366]

initialize

Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5