Previous: Iterative Determinization, Up: topdown [Contents][Index]
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.
• Example 1 | ||
• Example 2 | ||
• Example 3 | ||
• Example 4 | ||
• Example 5 | ||
• Example 6 | ||
• Example 7 | ||
• Example 8 | ||
• Example 9 | ||
• Example 10 | ||
• Example 11 | ||
• Example 12 | ||
• Example 13 | ||
• Example 14 |