Figure 2 for Stochastic Attribute-Value Grammars