-p option
This option opens the checkpoint file or loads a binary
model file and processes it, beginning from the last checkpoint
saved in the checkpoint file if this exists, or beginning from the
start of the .py? file. All changes are saved on termination.
This option is not valid with an .mdl file.
Note: A checkpoint file exists if model processing
was suspended. The file has a .qy? extension, where the question
mark (?) is replaced by the character that is used in your version of
Transformer.
The basic syntax for using the -p
option is
as follows:
cogtr -pfilename.py?
The following example starts Transformer, process the MDL verb commands in the file monthly_update.mdl, obtains preference settings from the file, trnsfrm_prd.xml, and saves the model:
cogtr -pgo_sales_jan.pyj -mmonthly_update.mdl -ftrnsfrm_prd.xml