Similar to a CFG , a probabilistic context-free grammar can be defined by a Quintupel : Similar to a CFG , a probabilistic context-free grammar can be defined by a quintuple : Similar to a CFG , a free context-probabilistic grammar can be defined by a quintuple .