prod Instruction ¶This instruction has the syntax
prod NONT_QUOTED, RHS
The instruction increments the frequency of a production in a PCFG corresponding to a regular expression grammar and updates the spur accordingly. The production has a nonterminal symbol NONT_QUOTED specified in double quotation marks at the left-hand side. The production has a right-hand side with zero-based index RHS.
Example:
prod "B", 4
This instruction increments the frequency of a PCFG production with the nonterminal symbol B at the left-hand side and the fifth right-hand side for that nonterminal symbol.