2 Categories have the format i-j:CAT where i and j are the indices of the spaces
3 between words in the TARGET language. For example, slash categories can be written:
6 0-1:DT 1-2:JJ 2-3:NN 1-3:NBAR 0-2:NP/NN 0-3:NP
9 You may multiply label each span, e.g.
18 0-1:NP 0-1:NBAR 0-1:NP
20 However, this may result in a very large number of rules being extracted.
24 * Filtering and Scoring of Unscored and Unfiltered Grammars
27 Take the unfiltered grammar, and a test set, and run:
28 ./filter_grammar <test set> < unfiltered.grammar > filter.grammar
30 Then, to score the new filtered grammar, run:
31 ./score_grammar <alignment> < filtered.grammar > scored.grammar