@MISC{Koskenniemi90finite-stateparsing, author = {Kimmo Koskenniemi}, title = {Finite-State Parsing and Disambiguation}, year = {1990}}
this paper shows one solution where one may describe the constraints freely, ie. one may act as if the other modules had already done their work