WP11 Test and train parser

Description

We will use the declarative grammar of WP 7 and train it on the parallel corpus (WP 1). The result of training the grammar is a set of rules which assign weights and contexts to each filler and ordering rule of the declarative grammar and which, by this, allow to estimate how likely it is that a particular rule is applied in a particular context in comparison with other rules.