Previous: , Up: topdown   [Contents][Index]


7.3.5 Examples

This subsection contains examples of learning simple grammars by iterative template grammar determinization. These examples use auxiliary programs described in pcfg-generate-seq, pcfg-predict-eval, and mk-rg-vit.sh. The examples also use grammar files located in the directory samples/gram.

To reproduce these examples, build sample programs in the subdirectory samples by running make in that subdirectory, change the current directory to the root of package distribution, and execute the following preparation commands:

$ cd samples
$ mkdir seq
$ mkdir td-learn

Continue by executing commands for all or specific examples below.