fix diagram: put generate above grammar, lexicon and morphology