Parser for transformation rules and reading lexicon