documentation for resObj and GramObj

Does anyone know where the documentation for resObj and GramObj is located?
And is there any sample code to demonstrate how to use these classes.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Look in

Look in natlink/natlink/miscscripts/natlink.txt. That is the official/original documentation.

Also look into the pytest/unittestNatlink.py for unittests and also (therefore) demonstrations of these objects.

Also the grammar _oops.py uses resObj, in _control.py the gramObj is used directly. Most uses of gramObj go through the subclasses!

In voicecode the resObj is also used, but I do not think that code will be helpful as demonstration code.

Quintijn

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.