Functionality to mark phrase dependenents for given phrase types. Updated test script.